Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/zenstackhq/zenstack
/ isObject
Function
isObject
packages/common-helpers/src/is-plain-object.ts:1–3 ·
view source on GitHub ↗
(o: unknown)
Source
from the content-addressed store, hash-verified
1
function
isObject(o: unknown) {
2
return
Object.prototype.toString.call(o) ===
'[object Object]'
;
3
}
4
5
export
function
isPlainObject(o: unknown) {
6
if
(isObject(o) === false)
return
false;
Callers
1
isPlainObject
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected