tinymist_std::typst::foundations::calc

Function odd

pub fn odd(value: i64) -> bool
Expand description

Determines whether an integer is odd.

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