This article covers features introduced in SpiderMonkey 24
Convert a C boolean of type bool to a JS::Value.
Syntax
JS::Value JS::BooleanValue(bool boo)
| Name | Type | Description | 
|---|---|---|
| boo | bool | C bool to convert. | 
Description
JS::BooleanValue converts a C boolean of type bool to JS::Value, the type of JavaScript values.