Functiondojo.isArrayLike

<script src="../../js/dojo.js"></script>
defined in dojo/_base/lang.js

Doesn't strongly test for "arrayness". Instead, settles for "isn't a string or number and has a length property". Arguments objects and DOM collections will return true when passed to dojo.isArrayLike(), but will return false when passed to dojo.isArray(). return: If it walks like a duck and quicks like a duck, return true

Usage

function (it) (view source)
parametertypedescription
it