MCPcopy Create free account
hub / github.com/GNOME/gjs / get

Method get

modules/script/byteArray.js:43–47  ·  view source on GitHub ↗
(target, prop, receiver)

Source from the content-addressed store, hash-verified

41 }
42
43 static get(target, prop, receiver) {
44 if (!Number.isNaN(Number.parseInt(prop)))
45 return Reflect.get(target._array, prop);
46 return Reflect.get(target, prop, receiver);
47 }
48
49 static set(target, prop, val, receiver) {
50 let ix = Number.parseInt(prop);

Callers 15

surface_to_gi_argumentFunction · 0.45
setDash_funcFunction · 0.45
showText_funcFunction · 0.45
textPath_funcFunction · 0.45
selectFontFace_funcFunction · 0.45
textExtents_funcFunction · 0.45
context_to_gi_argumentFunction · 0.45
pattern_to_gi_argumentFunction · 0.45
path_to_gi_argumentFunction · 0.45
~AutoReportExceptionMethod · 0.45
gjs_console_readlineFunction · 0.45
print_string_valueFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected