is-decimal

WebJar for is-decimal

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

is-decimal
Last Version

Last Version

1.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

is-decimal
WebJar for is-decimal
Project URL

Project URL

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

Source Code Management

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

Download is-decimal

How to add to project

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

Build Coverage Downloads Size

Check if a character is decimal.

Install

npm:

npm install is-decimal

Use

var decimal = require('is-decimal')

decimal('0') // => true
decimal('9') // => true
decimal('a') // => false
decimal('💩') // => false

API

decimal(character|code)

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

Related

License

MIT © Titus Wormer

Versions

Version
1.0.4
1.0.3
1.0.2
1.0.1