Sha256: 0818129b558ef95e118262299a1f9ff07d45d5a655334c8abe5a77e4013f214f
Contents?: true
Size: 152 Bytes
Versions: 14
Compression:
Stored size: 152 Bytes
Contents
export default function ensureArray ( thing ) { if ( Array.isArray( thing ) ) return thing; if ( thing == undefined ) return []; return [ thing ]; }
Version data entries
14 entries across 10 versions & 4 rubygems