isMoreListLikeThanMapLike
Test if a value should be treated as a list instead of a map.
isMoreListLikeThanMapLike(obj)
Return true
if obj
is an Array, declares itself to be more ListLike with
@@can.isMoreListLikeThanMapLike
, or self-reports as ListLike but not as MapLike; false
otherwise.
canReflect.isMoreListLikeThanMapLike([]); // -> true
canReflect.isMoreListLikeThanMapLike(null); // -> false
canReflect.isMoreListLikeThanMapLike({}); // -> false
canReflect.isMoreListLikeThanMapLike(new DefineList()); // -> true
canReflect.isMoreListLikeThanMapLike(new DefineMap()); // -> false
canReflect.isMoreListLikeThanMapLike(function() {}); // -> false
Parameters
- obj
{Object}
:the object to test for ListLike against MapLike traits.
Returns
{Boolean}
: