f::even_p (public)
f::even_p n
Defined in packages/acs-tcl/tcl/ad-functional-procs.tcl
- Parameters:
- n (required)
- Returns:
- 1 if n is even and 0 otherwise
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- functional_api
Source code: expr {1-$n%2}XQL Not present: Generic, PostgreSQL, Oracle