Skip to content
On this page

Special Functions

? suffix

Function names that end with a ? indicate it returns a bool. However, the inverse is not necessary. A function that returns a bool does not require the ?.

// must return bool
f isDone? -> bool {}