-
Notifications
You must be signed in to change notification settings - Fork 0
Mangler.isArray()
Robert Biro edited this page Sep 21, 2016
·
5 revisions
Checks if parameter is an array.
Mangler.isArray(parameter)| Parameter | Type | Default | Description |
|---|---|---|---|
| parameter | Any | Any value, variable or object to check. |
Returns true if parameter is a JavaScript array, false otherwise.
Mangler.isArray([]); // true
Mangler.isArray(Mangler().items); // true
Mangler.isArray({}); // false
Mangler.isArray(function() {}); // falseMangler.js - JavaScript object processing library
Copyright (C) 2014-2016
Project: http://codebin.co.uk/projects/mangler-js/
GitHub: https://github.com/DarthJDG/Mangler.js
- Home
- About the documentation
- Getting started
- Searching and querying
- Transforming data
- Advanced