From 499cdea75c433c86c67ea5674fec30fc5827a063 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20G=C3=A1l?= Date: Tue, 26 Oct 2021 09:43:51 +0200 Subject: [PATCH] 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 --- docs/02.API-REFERENCE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/02.API-REFERENCE.md b/docs/02.API-REFERENCE.md index e518a6054..01a958b97 100644 --- a/docs/02.API-REFERENCE.md +++ b/docs/02.API-REFERENCE.md @@ -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**