MCPcopy 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
12function isEmptyObject(obj) {
13 return Object.keys(obj).length === 0 && obj.constructor === Object;
14}
15
16const exampleData = {
17 title: 'AWS Simple HTTP Endpoint example in NodeJS',

Callers 1

validate.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected