Is it possible to pass expressions just like passi...
# announcements
b
Is it possible to pass expressions just like passing a function? ex
Copy code
fun waitUntil(exp : Expression) {
	while(exp) {}
}
or when passing
Copy code
someOtherFunction(>)
and later do
Copy code
fun someOtherFunction(exp : Expression) {
	if (x exp y) {
		//do a bunch of things
	}
}