MCPcopy Create free account
hub / github.com/phaserjs/phaser / hasGetterOrSetter

Function hasGetterOrSetter

src/utils/Class.js:9–12  ·  view source on GitHub ↗
(def)

Source from the content-addressed store, hash-verified

7// Taken from klasse by mattdesl https://github.com/mattdesl/klasse
8
9function hasGetterOrSetter (def)
10{
11 return (!!def.get && typeof def.get === 'function') || (!!def.set && typeof def.set === 'function');
12}
13
14function getProperty (definition, k, isClassDescriptor)
15{

Callers 1

getPropertyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…