42.0.1 • Published 5 years ago

is-answer-to-the-ultimate-question-of-life-the-universe-and-everything v42.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

is-answer-to-the-ultimate-question-of-life-the-universe-and-everything

Check if the value is 42

Wikipedia (English)

Wikipedia (Japanese)

npm version License: MIT

Usage

npm install is-answer-to-the-ultimate-question-of-life-the-universe-and-everything

yarn add is-answer-to-the-ultimate-question-of-life-the-universe-and-everything
const isAnswerToTheUltimateQuestionOfLifeTheUniverseAndEverything = require('is-answer-to-the-ultimate-question-of-life-the-universe-and-everything')

/* true */

console.log(isAnswerToTheUltimateQuestionOfLifeTheUniverseAndEverything(42))

/* false */

console.log(isAnswerToTheUltimateQuestionOfLifeTheUniverseAndEverything(41))

console.log(isAnswerToTheUltimateQuestionOfLifeTheUniverseAndEverything('42'))

CLI

npx is-answer-to-the-ultimate-question-of-life-the-universe-and-everything 42

>> true