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']));