Sha256: 55a9091f62821878ed8996b79a1c167bb5d43d44d760219f3a738d1a83034a62

Contents?: true

Size: 152 Bytes

Versions: 38

Compression:

Stored size: 152 Bytes

Contents

'use strict';
module.exports = function (val) {
	if (val === null || val === undefined) {
		return [];
	}

	return Array.isArray(val) ? val : [val];
};

Version data entries

38 entries across 38 versions & 8 rubygems

Version Path
trusty-cms-6.3.1 node_modules/arrify/index.js
trusty-cms-5.0.7 node_modules/arrify/index.js
trusty-cms-5.0.6 node_modules/arrify/index.js
trusty-cms-5.0.5 node_modules/arrify/index.js
trusty-cms-5.0.4 node_modules/arrify/index.js
trusty-cms-5.0.3 node_modules/arrify/index.js
trusty-cms-5.0.2 node_modules/arrify/index.js
trusty-cms-5.0.1 node_modules/arrify/index.js
trusty-cms-4.3.5 node_modules/arrify/index.js
trusty-cms-5.0.0 node_modules/arrify/index.js
trusty-cms-4.3.4 node_modules/arrify/index.js
trusty-cms-4.3.3 node_modules/arrify/index.js
trusty-cms-4.3.2 node_modules/arrify/index.js
trusty-cms-4.3.1 node_modules/arrify/index.js
trusty-cms-4.3 node_modules/arrify/index.js
trusty-cms-4.2.3 node_modules/arrify/index.js
trusty-cms-4.2.2 node_modules/arrify/index.js
trusty-cms-4.2.1 node_modules/arrify/index.js
trusty-cms-4.2 node_modules/arrify/index.js
trusty-cms-4.1.9 node_modules/arrify/index.js