TypstDocumentation

odd

Determine whether an integer is odd.

Example

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

Parameters
Question mark

value
integerRequiredPositional
Question mark

The number to check for oddness.