"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _common = require("./common"); var _default = function _default(length) { return (0, _common.withParams)({ type: 'minLength', min: length }, function (value) { return !(0, _common.req)(value) || (0, _common.len)(value) >= length; }); }; exports.default = _default;