Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/serverless/examples
/ isEmptyObject
Function
isEmptyObject
validate.js:12–14 ·
view source on GitHub ↗
(obj)
Source
from the content-addressed store, hash-verified
10
}
11
12
function
isEmptyObject(obj) {
13
return
Object.keys(obj).length === 0 && obj.constructor === Object;
14
}
15
16
const
exampleData = {
17
title:
'AWS Simple HTTP Endpoint example in NodeJS'
,
Callers
1
validate.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected