@tanstack/db
Version:
A reactive client store for building super fast apps on sync
7 lines (6 loc) • 326 B
JavaScript
import { codedMessage, devBuild } from "../error-message.js";
function validateLimit(limit = 0) {
if (limit < 0) throw new RangeError(/* @__PURE__ */ devBuild() && process.env.NODE_ENV !== `production` ? `limit must be nonnegative` : codedMessage(261));
}
export { validateLimit };
//# sourceMappingURL=validate-limit.js.map