Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
4
export
const
isObject = (fn: any): fn is object =>
5
!isNil(fn) && typeof fn ===
'object'
;
6
7
export
const
isPlainObject = (fn: any): fn is object => {
8
if
(!isObject(fn)) {
Callers
15
applyOptions
Method · 0.90
isCustomValue
Method · 0.90
applyProperties
Method · 0.90
isContextIdResolverWithPayload
Method · 0.90
catch
Method · 0.90
isExceptionObject
Method · 0.90
exceptions-handler.spec.ts
File · 0.90
router-response-controller.spec.ts
File · 0.90
getAllAndMerge
Method · 0.90
sse
Method · 0.90
toDataString
Function · 0.90
handleError
Method · 0.90
Calls
1
isNil
Function · 0.85
Tested by
no test coverage detected