9 lines
284 B
TypeScript
9 lines
284 B
TypeScript
/**
|
|
* 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
|