import { isAlphabetical } from '../../../is-alphabetical@2.0.1/node_modules/is-alphabetical/index.mjs';
import { isDecimal } from '../../../is-decimal@2.0.1/node_modules/is-decimal/index.mjs';

/**
 * 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.
 */
function isAlphanumerical(character) {
  return isAlphabetical(character) || isDecimal(character)
}

export { isAlphanumerical };
