1.0.2 • Published 1 year ago
is-minus-one v1.0.2
isMinusOne
Checks whether the provided value is equal to -1 or not.
Usage
npm install is-minus-one
import isMinusOne from "is-minus-one";
const isMinusOne = require("is-minus-one");
isMinusOne(1); // False
isMinusOne(-1); // True