Func Isarray
# VBScript IsArray Function
* * Complete VBScript Reference Manual](#)
* * *
The IsArray function returns a Boolean value indicating whether the specified variable is an array. Returns True if the variable is an array, otherwise returns False.
### Syntax
IsArray(variable)
| Parameter | Description |
| :--- | :--- |
| variable | Required. Any variable. |
## Examples
## Example 1
days=Array("Sun","Mon","Tue","Wed","Thu","Fri","Sat")
document.write(IsArray(days))
Output from the example above:
True
[Try it Β»](#)
## Example 2
Dim a(5)
a(0)="Saturday"
a(1)="Sunday"
aGeek Tutorial(2)="Monday"
a(3)="Tuesday"
a(4)="Wednesday"
document.write(IsArray(a))
Output from the example above:
True
[Try it Β»](#)
## Example 3
a="Saturday"
document.write(IsArray(a))
Output from the example above:
False
[Try it Β»](#)
* * Complete VBScript Reference Manual](#)
YouTip