1.0.1 • Published 4 years ago

is-sixty-nine v1.0.1

Weekly downloads
1
License
WTFPL
Repository
github
Last release
4 years ago

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"