Skip to content

JsBooleanToBool

Limin Zhu edited this page Oct 9, 2015 · 1 revision

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.

Clone this wiki locally