MCPcopy Create free account
hub / github.com/apache/pouchdb / coerceOptions

Function coerceOptions

lib/index.js:8275–8280  ·  view source on GitHub ↗
(opts)

Source from the content-addressed store, hash-verified

8273 }
8274
8275 function coerceOptions(opts) {
8276 opts.group_level = coerceInteger(opts.group_level);
8277 opts.limit = coerceInteger(opts.limit);
8278 opts.skip = coerceInteger(opts.skip);
8279 return opts;
8280 }
8281
8282 function checkPositiveInteger(number) {
8283 if (number) {

Callers 1

abstractQueryFunction · 0.70

Calls 1

coerceIntegerFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…