numeric.int ≡
Copyright: (c) Microsoft Corporation. All rights reserved.
Integer functions.
inline bool even(auto a) §
Return true if the input is even.
Examples
>>> even(0)
true
>>> even(1)
false
>>> even(2)
true
inline bool odd(auto a) §
Return true if the input is odd.
Examples
>>> odd(0)
false
>>> odd(1)
true
>>> odd(2)
false