Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

JsConvertValueToBoolean

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

Converts the value to Boolean using standard JavaScript semantics.

Syntax

STDAPI_(JsErrorCode)
    JsConvertValueToBoolean(
    _In_ JsValueRef 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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.