Remove jerry_get_boolean_value (#4685)

JerryScript-DCO-1.0-Signed-off-by: Gergo Csizi [email protected]
This commit is contained in:
Gergo Csizi authored and GitHub committed 2021-06-24 15:40:14 +02:00
1 parent 6de17b204e
commit 8f71871a39
40 files changed
+128 -193

No files matched your search

+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)