TypstDocumentation

even

Determine whether an integer is even.

Example

#calc.even(4) \
#calc.even(5) \
#range(10).filter(calc.even)
Preview

Parameters
Question mark

even() -> boolean

value
integerRequiredPositional
Question mark

The number to check for evenness.