UNPKG

@tanstack/db

Version:

A reactive client store for building super fast apps on sync

13 lines (12 loc) • 335 B
import { devBuild, codedMessage } from "../error-message.js"; function validateLimit(limit = 0) { if (limit < 0) { throw new RangeError( devBuild() && process.env.NODE_ENV !== `production` ? `limit must be nonnegative` : codedMessage(261) ); } } export { validateLimit }; //# sourceMappingURL=validate-limit.js.map