SFU.isArray()
- Last UpdatedJun 25, 2024
- 1 minute read
Use isArray() method to determine if an object is an array or not.
Syntax
bRetVal = SFU.isArray(object);
Parameters
|
Parameter |
Description |
|---|---|
|
object |
Object to determine. |
Return Value
This method returns a boolean value.
Example
// Check if the object is an array.
var rowData = ["a","b","c","d"];
if (SFU.isArray(rowData))
{
// Perform required operations.
}