MCPcopy
hub / github.com/nestjs/nest / isObject

Function isObject

packages/common/utils/shared.utils.ts:4–5  ·  view source on GitHub ↗
(fn: any)

Source from the content-addressed store, hash-verified

2 typeof obj === 'undefined';
3
4export const isObject = (fn: any): fn is object =>
5 !isNil(fn) && typeof fn === 'object';
6
7export const isPlainObject = (fn: any): fn is object => {
8 if (!isObject(fn)) {

Callers 15

applyOptionsMethod · 0.90
isCustomValueMethod · 0.90
applyPropertiesMethod · 0.90
catchMethod · 0.90
isExceptionObjectMethod · 0.90
getAllAndMergeMethod · 0.90
sseMethod · 0.90
toDataStringFunction · 0.90
handleErrorMethod · 0.90

Calls 1

isNilFunction · 0.85

Tested by

no test coverage detected