Math & Text
iseven
$isEven — true when a whole number is even.
`true` when a whole number is even.
Syntax
$isEven[integer]
Parameters
- integer (integer, required) — The number.
Return Value
- string.
Usage
$isEven[4] → "true"
Example
$if[$isEven[$userID]==true]even$endif
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.