# ArrayLen()

Returns the length of a given array

```
ArrayLen( array=array );
```

**Returns:** number

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| array | array | Yes | array to check |  |

# Examples

```cfml
aNames = array("Marcus","Sarah","Josefine");

dump(var=ArrayLen(aNames), label="array length");

//member function
dump(var=aNames.len(), label="array length");
```







# Categories

[Arrays](../../categories/array.md)

# See Also

[Len()](len.md), [array.len()](../objects/array/len.md)