is-lemon

1.0.1 • Public • Published

isLemon

isLemon is a library for testing if a value is lemon 🍋.

Install

$ npm install --save is-lemon

Usage

const isLemon = require("is-lemon");
 
isLemon("lemon"); // true
isLemon("LEMON"); // true
isLemon("🍋"); // true
 
isLemon(0); // false
isLemon(null); // false
isLemon("orange"); // false
isLemon("🍊"); // false

API

isLemon(value)

Type: Function

Returns: Boolean

value

Type: Any

License

ISC © fiskgrodan

Readme

Keywords

Package Sidebar

Install

npm i is-lemon

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

2.54 kB

Total Files

6

Last publish

Collaborators

  • fiskgrodan