MCPcopy Create free account
hub / github.com/NativeScript/android / Has

Method Has

test-app/runtime/src/main/cpp/URLSearchParamsImpl.cpp:222–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220 }
221
222 void URLSearchParamsImpl::Has(const v8::FunctionCallbackInfo<v8::Value> &args) {
223 URLSearchParamsImpl *ptr = GetPointer(args.This());
224 if (ptr == nullptr) {
225 args.GetReturnValue().Set(false);
226 return;
227 }
228 auto key = args[0].As<v8::String>();
229 auto value = ptr->GetURLSearchParams()->has(ArgConverter::ConvertToString(key));
230
231 args.GetReturnValue().Set(value);
232 }
233
234 void URLSearchParamsImpl::Keys(const v8::FunctionCallbackInfo<v8::Value> &args) {
235 URLSearchParamsImpl *ptr = GetPointer(args.This());

Callers 3

GetErrorMessageMethod · 0.80
RegisterFromFunctionMethod · 0.80

Calls 5

ThisMethod · 0.80
GetReturnValueMethod · 0.80
GetURLSearchParamsMethod · 0.80
SetMethod · 0.45
hasMethod · 0.45