UNPKG

big-json-viewer

Version:

JavaScript Library to view big JSON structures.

12 lines 391 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function assertStartLimit(start, limit) { if (isNaN(start) || start < 0) { throw new Error("Invalid start " + start); } if (limit && limit < 0) { throw new Error("Invalid limit " + limit); } } exports.assertStartLimit = assertStartLimit; //# sourceMappingURL=utils.js.map