JsBooleanToBool Function
Retrieves the bool
value of a Boolean value.
Syntax
STDAPI_(JsErrorCode) JsBooleanToBool(
_In_ JsValueRef value,
_Out_ bool *boolValue
);
Parameters
value
The value to be converted.
boolValue
The converted value.
Return Value
The code JsNoError
if the operation succeeded, a failure code otherwise.
Remarks
Requires an active script context.
Requirements
Header: jsrt.h