mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
327 B
19 lines
327 B
name: duk_push_true
|
|
|
|
proto: |
|
|
void duk_push_true(duk_context *ctx);
|
|
|
|
stack: |
|
|
[ ... ] -> [ ... true! ]
|
|
|
|
summary: |
|
|
<p>Push <code>true</code> to stack. Equivalent to calling
|
|
<code><a href="#duk_push_boolean">duk_push_boolean(ctx, 1)</a></code>.</p>
|
|
|
|
example: |
|
|
duk_push_true(ctx);
|
|
|
|
tags:
|
|
- stack
|
|
|
|
introduced: 1.0.0
|
|
|