UNPKG

lux-framework

Version:

Build scalable, Node.js-powered REST APIs with almost no code.

11 lines (9 loc) 245 B
// @flow import isNull from './is-null'; import isUndefined from './is-undefined'; /** * @private */ export default function present(...values: Array<mixed>): boolean { return values.every(value => !isNull(value) && !isUndefined(value)); }