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
)
Public Shared Function EvalBool (
expr As String
) As Boolean
Parameters
- expr
- Type: SystemString
The expression to evaluate.
Return Value
Type:
BooleanReturns False if the expression evaluates to zero, blank, or "false", else returns True.
See Also