Click or drag to resize

JSHelperEvalBool Method

Evaluate a javascript expression and interpret the results as a boolean value.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static bool EvalBool(
	string expr
)

Parameters

expr
Type: SystemString
The expression to evaluate.

Return Value

Type: Boolean
Returns False if the expression evaluates to zero, blank, or "false", else returns True.
See Also