Is there a shortcut in MooTools for telling if an object is an object or an array?
MooTools has a $type(), where you pass in an object.
var myString = 'hello';
$type(myString);
You can find more information at http://mootools.net/docs/core#type
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With