site/node_modules/is-alphanumerical/index.d.ts

9 lines
284 B
TypeScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
/**
* Check if the given character code, or the character code at the first
* character, is alphanumerical.
*
* @param {string|number} character
* @returns {boolean} Whether `character` is alphanumerical.
*/
export function isAlphanumerical(character: string | number): boolean