3 [![Build][build-badge]][build]
4 [![Coverage][coverage-badge]][coverage]
5 [![Downloads][downloads-badge]][downloads]
6 [![Size][size-badge]][size]
8 Check if a character is hexadecimal.
15 npm install is-hexadecimal
21 var hexadecimal = require('is-hexadecimal')
23 hexadecimal('a') // => true
24 hexadecimal('0') // => true
25 hexadecimal('G') // => false
26 hexadecimal('💩') // => false
31 ### `hexadecimal(character|code)`
33 Check whether the given character code (`number`), or the character code at the
34 first position (`string`), is hexadecimal.
38 * [`is-alphabetical`](https://github.com/wooorm/is-alphabetical)
39 * [`is-alphanumerical`](https://github.com/wooorm/is-alphabetical)
40 * [`is-decimal`](https://github.com/wooorm/is-decimal)
41 * [`is-whitespace-character`](https://github.com/wooorm/is-whitespace-character)
42 * [`is-word-character`](https://github.com/wooorm/is-word-character)
46 [MIT][license] © [Titus Wormer][author]
50 [build-badge]: https://img.shields.io/travis/wooorm/is-hexadecimal.svg
52 [build]: https://travis-ci.org/wooorm/is-hexadecimal
54 [coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/is-hexadecimal.svg
56 [coverage]: https://codecov.io/github/wooorm/is-hexadecimal
58 [downloads-badge]: https://img.shields.io/npm/dm/is-hexadecimal.svg
60 [downloads]: https://www.npmjs.com/package/is-hexadecimal
62 [size-badge]: https://img.shields.io/bundlephobia/minzip/is-hexadecimal.svg
64 [size]: https://bundlephobia.com/result?p=is-hexadecimal
66 [npm]: https://docs.npmjs.com/cli/install
70 [author]: https://wooorm.com