{"version":3,"sources":["../../../src/php/array/sizeof.js"],"names":["module","exports","sizeof","mixedVar","mode","count","require"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,MAAT,CAAiBC,QAAjB,EAA2BC,IAA3B,EAAiC;AAChD;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,QAAQC,QAAQ,gBAAR,CAAZ;;AAEA,SAAOD,MAAMF,QAAN,EAAgBC,IAAhB,CAAP;AACD,CAXD","file":"sizeof.js","sourcesContent":["module.exports = function sizeof (mixedVar, mode) {\n // discuss at: http://locutus.io/php/sizeof/\n // original by: Philip Peterson\n // example 1: sizeof([[0,0],[0,-4]], 'COUNT_RECURSIVE')\n // returns 1: 6\n // example 2: sizeof({'one' : [1,2,3,4,5]}, 'COUNT_RECURSIVE')\n // returns 2: 6\n\n var count = require('../array/count')\n\n return count(mixedVar, mode)\n}\n"]}