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

Testcases:
functional_api
Source code:
    expr {1-$n%2}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: