Skip to content

Commit 499cdea

Browse files
authored
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 [email protected]
1 parent 100b6f5 commit 499cdea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/02.API-REFERENCE.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2424,7 +2424,7 @@ jerry_value_is_true (const jerry_value_t value);
24242424
- true, if the given `jerry_value_t` is true value
24252425
- false, otherwise
24262426

2427-
*New in version [[NEXT_RELEASE]]*. Replaces the `jerry_value_is_boolean` method.
2427+
*New in version [[NEXT_RELEASE]]*. Replaces the `jerry_get_boolean_value` method.
24282428

24292429
**Example**
24302430

@@ -2464,7 +2464,7 @@ jerry_value_is_false (const jerry_value_t value);
24642464
- true, if the given `jerry_value_t` is false value
24652465
- false, otherwise
24662466

2467-
*New in version [[NEXT_RELEASE]]*. Replaces the `jerry_value_is_boolean` method.
2467+
*New in version [[NEXT_RELEASE]]*.
24682468

24692469
**Example**
24702470

0 commit comments

Comments
 (0)