MCPcopy
hub / github.com/bootboxjs/bootbox / getKeyLength

Function getKeyLength

bootbox.js:1094–1096  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

1092
1093 // Returns a count of the properties defined on the object
1094 function getKeyLength(obj) {
1095 return Object.keys(obj).length;
1096 }
1097
1098
1099 // Tiny wrapper function around jQuery.each; just adds index as the third parameter

Callers 2

bootbox.jsFile · 0.85
sanitizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…