template::util::is_true (public, deprecated)

 template::util::is_true x

Defined in packages/acs-templating/tcl/util-procs.tcl

Deprecated. Invoking this procedure generates a warning.

interprets its argument as a boolean.

Parameters:
x (required)
the value to test DEPRECATED 5.10.1: since October 2015 this proc is implemented via the standard Tcl idiom "string is true -strict ..." that can be easily inlined.
Returns:
0 if the variable can be interpreted as false; 1 for true if it can't.
See Also:
  • string

Testcases:
No testcase defined.
[ show source ]
Show another procedure: