Is Jeven
Each isEven(number) call sends the number as state and asks a Choice question keyed category with true and false criteria.
Each isEven(number) call sends the number as state and asks a Choice question keyed category with true and false criteria.
Each isEven(number) call sends the number as state and asks a Choice question keyed category with true and false criteria. The package validates that the response is a Choice with one of those labels, then returns a JavaScript boolean.
Is this number even?
The state is the JSON object {num: number}; the public API documents safe integers.
The caller supplies a safe integer and may provide an API key or abort signal.
The package posts one System One request with the number state and category Choice.
It rejects invalid responses and maps the selected string label to a boolean.
It frames a familiar numeric predicate as a semantic decision supplied by Jev through a small application API.