Specialization for bool.
More...
#include <duk.hpp>
|
static void | push (duk_context *ctx, bool value) |
|
static auto | get (duk_context *ctx, duk_idx_t index) -> bool |
|
static auto | require (duk_context *ctx, duk_idx_t index) -> bool |
|
◆ get()
Get a boolean.
Uses duk_get_boolean.
- Parameters
-
ctx | the Duktape context |
index | the value index |
- Returns
- the converted value
◆ push()
Push a boolean.
Uses duk_push_boolean
- Parameters
-
ctx | the Duktape context |
value | the value |
◆ require()
Require a boolean.
Uses duk_require_boolean.
- Parameters
-
ctx | the Duktape context |
index | the value index |
- Returns
- the converted value
The documentation for this struct was generated from the following file: