UNPKG

tiny-essentials

Version:

Collection of small, essential scripts designed to be used across various projects. These simple utilities are crafted for speed, ease of use, and versatility.

15 lines 621 B
/** * Matches exactly one letter (lowercase or uppercase). * @param {string} [type='g'] - The flag for the regular expression (default is 'g'). * @returns {RegExp} The regular expression to match exactly one letter. * @deprecated */ export function oneLetter(type?: string): RegExp; /** * Matches one or more letters (lowercase or uppercase). * @param {string} [type='g'] - The flag for the regular expression (default is 'g'). * @returns {RegExp} The regular expression to match one or more letters. * @deprecated */ export function multiLetters(type?: string): RegExp; //# sourceMappingURL=getLetter.d.mts.map