MCPcopy
hub / github.com/ajv-validator/ajv / isOwnProperty

Function isOwnProperty

lib/vocabularies/code.ts:41–43  ·  view source on GitHub ↗
(gen: CodeGen, data: Name, property: Name | string)

Source from the content-addressed store, hash-verified

39}
40
41export function isOwnProperty(gen: CodeGen, data: Name, property: Name | string): Code {
42 return _`${hasPropFunc(gen)}.call(${data}, ${property})`
43}
44
45export function propertyInData(
46 gen: CodeGen,

Callers 5

isAdditionalFunction · 0.90
isAdditionalFunction · 0.90
propertyInDataFunction · 0.85
noPropertyInDataFunction · 0.85

Calls 2

_Function · 0.90
hasPropFuncFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…