is-sixty-nine

1.0.1 • Public • Published

Installation

npm install is-sixty-nine

Usage

const isSixtyNine = require("is-sixty-nine");

if (isSixtyNine(val)) {//...}

isSixtyNine returns false if the value is not 69, or the conveniently truthy "nice" if it is.

Since we're embracing loose typing, the following values of 69 are accepted:

  • 69
  • "69"
  • "sixty nine" (case insensitive)
  • "sixty-nine" (case insensitive)
  • "LXIX"

Readme

Keywords

Package Sidebar

Install

npm i is-sixty-nine

Weekly Downloads

2

Version

1.0.1

License

WTFPL

Unpacked Size

2.66 kB

Total Files

4

Last publish

Collaborators

  • nextlevelbanana