Sha256: 209ddc977204198d85996e6a8bd803733e6f585ef4790fb2693b596f0735e429
Contents?: true
Size: 329 Bytes
Versions: 69
Compression:
Stored size: 329 Bytes
Contents
define(['../lang/isArray', '../object/size'], function (isArray, objSize) { /** * Get collection size */ function size(list) { if (!list) { return 0; } if (isArray(list)) { return list.length; } return objSize(list); } return size; });
Version data entries
69 entries across 69 versions & 2 rubygems