Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function lengthMoreThan(length, error: ErrorContent) {
return validator(predicates.lengthMoreThan(length))(error);
}
lengthMoreThan(length: number, errorContent: ErrorContent) {
return validate(lengthMoreThan(length), errorContent);
},