MCPcopy
hub / github.com/microsoft/reflect-metadata / IsObject

Function IsObject

Reflect.ts:1291–1293  ·  view source on GitHub ↗
(x: T | undefined | null | boolean | string | symbol | number)

Source from the content-addressed store, hash-verified

1289 // 6.1.7 The Object Type
1290 // https://tc39.github.io/ecma262/#sec-object-type
1291 function IsObject<T>(x: T | undefined | null | boolean | string | symbol | number): x is T {
1292 return typeof x === "object" ? x !== null : typeof x === "function";
1293 }
1294
1295 // 7.1 Type Conversion
1296 // https://tc39.github.io/ecma262/#sec-type-conversion

Callers 15

decorateFunction · 0.70
decoratorFunction · 0.70
defineMetadataFunction · 0.70
hasMetadataFunction · 0.70
hasOwnMetadataFunction · 0.70
getMetadataFunction · 0.70
getOwnMetadataFunction · 0.70
getMetadataKeysFunction · 0.70
getOwnMetadataKeysFunction · 0.70
deleteMetadataFunction · 0.70
DecoratePropertyFunction · 0.70
ToPrimitiveFunction · 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…