Repository URL to install this package:
Version:
0.9.7 ▾
|
/**
* @param {Number | string} value
* @param {Number} [minLength=DEFAULT_MIN]
* @param {Number} [maxLength=DEFAULT_MAX]
* @return {Boolean}
*/
declare function isValidLength(value: number | string, minLength?: number, maxLength?: number): boolean;
declare type ValidValue = number | string | Array<any> | Object;
declare function isValidLengthCurried(minLength?: number, maxLength?: number): (value: ValidValue) => any;
export { isValidLength, isValidLengthCurried };
export default isValidLength;