@taufik-nurrohman/has
v1.0.0
Published
Conditional utility.
Downloads
766
Readme
Conditional Utility
Usage
CommonJS
const {hasValue} = require('@taufik-nurrohman/has');
console.log(hasValue('foo', ['foo', 'bar', 'baz']));
ECMAScript
import {hasValue} from '@taufik-nurrohman/has';
console.log(hasValue('foo', ['foo', 'bar', 'baz']));