MCPcopy Create free account
hub / github.com/angular/angular / isJsObject

Function isJsObject

packages/core/src/util/iterable.ts:49–51  ·  view source on GitHub ↗
(o: any)

Source from the content-addressed store, hash-verified

47}
48
49export function isJsObject(o: any): boolean {
50 return o !== null && (typeof o === 'function' || typeof o === 'object');
51}

Callers 3

supportsMethod · 0.90
diffMethod · 0.90
isListLikeIterableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected