Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/expo/expo
/ getBool
Method
getBool
packages/expo-modules-core/android/src/main/cpp/JavaScriptValue.cpp:146–148 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
144
}
145
146
bool JavaScriptValue::getBool() {
147
return jsValue->getBool();
148
}
149
150
double JavaScriptValue::getDouble() {
151
return jsValue->getNumber();
Callers
15
primitive_arguments_should_be_convertible
Method · 0.45
setProperty_should_work_with_bool
Method · 0.45
event_emitter_provides_backwards_compatibility
Method · 0.45
should_wrap_booleans
Method · 0.45
null_should_be_pass_as_js_value
Method · 0.45
inherits_from_EventEmitter
Method · 0.45
has_base_class_prototype
Method · 0.45
is_instance_of
Method · 0.45
sends_events_with_primitive_payloads
Method · 0.45
should_be_able_to_return_new_instance_from_function
Method · 0.45
keeps_the_js_object_alive_until_the_async_call_settles
Method · 0.45
keeps_a_shared_object_argument_alive_until_the_async_call_settles
Method · 0.45
Calls
no outgoing calls
Tested by
15
primitive_arguments_should_be_convertible
Method · 0.36
setProperty_should_work_with_bool
Method · 0.36
event_emitter_provides_backwards_compatibility
Method · 0.36
should_wrap_booleans
Method · 0.36
null_should_be_pass_as_js_value
Method · 0.36
inherits_from_EventEmitter
Method · 0.36
has_base_class_prototype
Method · 0.36
is_instance_of
Method · 0.36
sends_events_with_primitive_payloads
Method · 0.36
should_be_able_to_return_new_instance_from_function
Method · 0.36
keeps_the_js_object_alive_until_the_async_call_settles
Method · 0.36
keeps_a_shared_object_argument_alive_until_the_async_call_settles
Method · 0.36