UNPKG

465 BJavaScriptView Raw
1"use strict";
2var __importDefault = (this && this.__importDefault) || function (mod) {
3 return (mod && mod.__esModule) ? mod : { "default": mod };
4};
5Object.defineProperty(exports, "__esModule", { value: true });
6const max_length_1 = __importDefault(require("./max-length"));
7exports.default = (value, max) => typeof value === 'string' &&
8 value.split(/\r?\n/).every((line) => (0, max_length_1.default)(line, max));
9//# sourceMappingURL=max-line-length.js.map
\No newline at end of file