UNPKG

@tanstack/db

Version:

A reactive client store for building super fast apps on sync

13 lines (12 loc) • 452 B
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); const errorMessage = require("../error-message.cjs"); function validateLimit(limit = 0) { if (limit < 0) { throw new RangeError( errorMessage.devBuild() && process.env.NODE_ENV !== `production` ? `limit must be nonnegative` : errorMessage.codedMessage(261) ); } } exports.validateLimit = validateLimit; //# sourceMappingURL=validate-limit.cjs.map