mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Fix jerry_value_is_{true,false} documentation (#4803)
The API doc for jerry_value_is_{true,false} incorrectly stated
that it is a replacment for the `jerry_value_is_boolean` method.
The `jerry_value_is_true` is the direct replacement of the
`jerry_get_boolean_value` method and the "false" version is a new
method.
JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.usz@partner.samsung.com
This commit is contained in:
parent
100b6f577e
commit
499cdea75c
@ -2424,7 +2424,7 @@ jerry_value_is_true (const jerry_value_t value);
|
||||
- true, if the given `jerry_value_t` is true value
|
||||
- false, otherwise
|
||||
|
||||
*New in version [[NEXT_RELEASE]]*. Replaces the `jerry_value_is_boolean` method.
|
||||
*New in version [[NEXT_RELEASE]]*. Replaces the `jerry_get_boolean_value` method.
|
||||
|
||||
**Example**
|
||||
|
||||
@ -2464,7 +2464,7 @@ jerry_value_is_false (const jerry_value_t value);
|
||||
- true, if the given `jerry_value_t` is false value
|
||||
- false, otherwise
|
||||
|
||||
*New in version [[NEXT_RELEASE]]*. Replaces the `jerry_value_is_boolean` method.
|
||||
*New in version [[NEXT_RELEASE]]*.
|
||||
|
||||
**Example**
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user