UNPKG

@roots/bud-api

Version:

bud.js core module

12 lines (11 loc) 296 B
import isArray from '@roots/bud-support/isArray'; import isString from '@roots/bud-support/isString'; export const isValue = (value) => { if (value === false) return true; if (isString(value)) return true; if (isArray(value)) return true; return false; };