Skip to content

JsBoolToBoolean

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

Creates a Boolean value from a bool value.

Syntax

STDAPI_(JsErrorCode)
    JsBoolToBoolean(
    _In_ bool value,
    _Out_ JsValueRef *booleanValue);

Parameters

  • value: The value to be converted.
  • booleanValue: The converted value.

Return Value

The code JsNoError if the operation succeeded, a failure code otherwise.

Remarks

Requires an active script context.

Clone this wiki locally