Remove jerry_get_boolean_value (#4685)

JerryScript-DCO-1.0-Signed-off-by: Gergo Csizi csgergo92@gmail.com
This commit is contained in:
Gergo Csizi
2021-06-24 15:40:14 +02:00
committed by GitHub
parent 6de17b204e
commit 8f71871a39
40 changed files with 128 additions and 193 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ jerryx_module_check_cache (jerry_value_t cache, /**< cache from which to attempt
/* If we succeed in getting an answer, we examine the answer. */
if (!jerry_value_is_error (js_has_property))
{
bool has_property = jerry_get_boolean_value (js_has_property);
bool has_property = jerry_value_is_true (js_has_property);
/* If the module is indeed in the cache, we return it. */
if (has_property)