UNPKG

@bemedev/cli-test

Version:

A library for testing CLI libraries (INCEPTION !!)

23 lines (20 loc) 461 B
'use strict'; const undefiny = (value) => { return value; }; const buildEmptyArray = (...values) => { return values; }; const anify = (value) => { return value; }; const arrayify = (values) => { if (!values) return []; return Array.isArray(values) ? values : [values]; }; exports.anify = anify; exports.arrayify = arrayify; exports.buildEmptyArray = buildEmptyArray; exports.undefiny = undefiny; //# sourceMappingURL=utils.cjs.map