1.0.0 • Published 3 years ago
@f0c1s/ifeq v1.0.0
node-ifeq
node module for providing short if equals execution flow
Installation
npm i @f0c1s/ifeq
Usage
const {ifeqString, ifeqNumber} = require('@f0c1s/ifeq')
ifeqString("WHAT".toLocaleLowerCase(), 'what', v => console.log(v))
ifeqNumber(Number.MAX_SAFE_INTEGER - 2, Number.MAX_SAFE_INTEGER - 1 - 1, console.log)
1.0.0
3 years ago