MCPcopy Create free account
hub / github.com/WiseLibs/better-sqlite3 / getLength

Function getLength

lib/methods/aggregate.js:40–43  ·  view source on GitHub ↗
({ length })

Source from the content-addressed store, hash-verified

38};
39
40const getLength = ({ length }) => {
41 if (Number.isInteger(length) && length >= 0) return length;
42 throw new TypeError('Expected function.length to be a positive integer');
43};

Callers 1

aggregate.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected