MCPcopy Create free account
hub / github.com/Kudo/react-native-v8 / isArray

Method isArray

src/v8runtime/V8Runtime.cpp:1177–1186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1175}
1176
1177bool V8Runtime::isArray(const jsi::Object &object) const {
1178 v8::Locker locker(isolate_);
1179 v8::Isolate::Scope scopedIsolate(isolate_);
1180 v8::HandleScope scopedHandle(isolate_);
1181 v8::Context::Scope scopedContext(context_.Get(isolate_));
1182
1183 v8::Local<v8::Object> v8Object =
1184 JSIV8ValueConverter::ToV8Object(*this, object);
1185 return v8Object->IsArray();
1186}
1187
1188bool V8Runtime::isArrayBuffer(const jsi::Object &object) const {
1189 v8::Locker locker(isolate_);

Callers

nothing calls this directly

Calls 1

GetMethod · 0.80

Tested by

no test coverage detected