MCPcopy
hub / github.com/formatjs/formatjs / HasOwnProperty

Function HasOwnProperty

packages/ecma262-abstract/HasOwnProperty.ts:4–6  ·  view source on GitHub ↗
(o: object, prop: string)

Source from the content-addressed store, hash-verified

2 * https://www.ecma-international.org/ecma-262/11.0/index.html#sec-hasownproperty
3 */
4export function HasOwnProperty(o: object, prop: string): boolean {
5 return Object.prototype.hasOwnProperty.call(o, prop)
6}

Callers 6

CurrencyDigitsFunction · 0.85
constructorMethod · 0.85
firstDayOfWeekMethod · 0.85
hourCycleMethod · 0.85
getHourCyclesMethod · 0.85
getWeekInfoMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected