@sebgroup/frontend-tools
Version:
A set of frontend tools
9 lines (8 loc) • 396 B
TypeScript
/**
* Check if a string matches a specific length
* @param {string} value The string to be checked
* @param {number} min The desired minimum length
* @param {number} max The desired maximum length
* @returns {boolean} True if the string length falls between the minimum and the maximum
*/
export declare function checkStringLength(value: string, min: number, max: number): boolean;