is-hexadecimal

WebJar for is-hexadecimal

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

is-hexadecimal
Last Version

Last Version

1.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

is-hexadecimal
WebJar for is-hexadecimal
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/wooorm/is-hexadecimal

Download is-hexadecimal

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/is-hexadecimal/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>is-hexadecimal</artifactId>
    <version>1.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/is-hexadecimal/
implementation 'org.webjars.npm:is-hexadecimal:1.0.4'
// https://jarcasting.com/artifacts/org.webjars.npm/is-hexadecimal/
implementation ("org.webjars.npm:is-hexadecimal:1.0.4")
'org.webjars.npm:is-hexadecimal:jar:1.0.4'
<dependency org="org.webjars.npm" name="is-hexadecimal" rev="1.0.4">
  <artifact name="is-hexadecimal" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='is-hexadecimal', version='1.0.4')
)
libraryDependencies += "org.webjars.npm" % "is-hexadecimal" % "1.0.4"
[org.webjars.npm/is-hexadecimal "1.0.4"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

is-hexadecimal

Build Coverage Downloads Size

Check if a character is hexadecimal.

Install

npm:

npm install is-hexadecimal

Use

var hexadecimal = require('is-hexadecimal')

hexadecimal('a') // => true
hexadecimal('0') // => true
hexadecimal('G') // => false
hexadecimal('💩') // => false

API

hexadecimal(character|code)

Check whether the given character code (number), or the character code at the first position (string), is hexadecimal.

Related

License

MIT © Titus Wormer

Versions

Version
1.0.4
1.0.3
1.0.2
1.0.1