"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Wether the length of the value is greater than a minimum length
*
* @param minLength
* @param value
* @category validators
* @module isMinLengthAt
*/
function isMinLengthAt(minLength, value, isSpaceAllowed) {
if (isSpaceAllowed === void 0) { isSpaceAllowed = false; }
return new RegExp("^".concat(isSpaceAllowed ? '.' : '\\S', "{").concat(minLength, ",}$"), '').test("".concat(value));
}
exports.default = isMinLengthAt;
Source