is-thirteen

WebJar for is-thirteen

License

License

WTFPL
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

is-thirteen
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

is-thirteen
WebJar for is-thirteen
Project URL

Project URL

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

Source Code Management

https://github.com/jezen/is-thirteen

Download is-thirteen

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : noop3 jar [13.7.2,14)

Project Modules

There are no modules declared in this project.

Special thanks to @casdr for the logo

is-thirteen

Build Status Join us on Gitter

An npm package to check if a number is equal to 13.

Installation

npm --save i is-thirteen

or

yarn add is-thirteen

Usage

const isThirteen = require('is-thirteen');

// PLEAS READ THE SOURCE CODE BECAuse we moved fast and broke things

i̶s̶T̶h̶i̶r̶t̶e̶e̶n̶(̶2̶5̶)̶;̶ ̶/̶/̶ ̶f̶a̶l̶s̶e̶
i̶s̶T̶h̶i̶r̶t̶e̶e̶n̶(̶1̶3̶)̶;̶ ̶/̶/̶ ̶t̶r̶u̶e̶
const is = require('is-thirteen');
// Now with elegant syntax.

is(13).thirteen(); // true
is(12.8).roughly.thirteen(); // true
is(6).within(10).of.thirteen(); // true
is(2008).yearOfBirth(); // true

// check your math skillz
is(4).plus(5).thirteen();      // false
is(12).plus(1).thirteen();    // true
is(4).minus(12).thirteen();    // false
is(14).minus(1).thirteen();    // true
is(1).times(8).thirteen();    // false
is(26).divideby(2).thirteen();  // true

Test

npm test

License

WTFPL

A helpful tool by Jezen Thomas with helpful help from Gytis Daujotas and many fine folk.

Versions

Version
2.0.0