extents

Returns a list of the smallest and largest keys for each dimension of an array.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.1 Security:

# Syntax

the extents of array

# Params

- array :

# Examples

the extents of myArray

put item 1 of line 2 of the extents of theFigures into columnsMinimum

# Description

Use the extents function to find the minimum and maximum row and column numbers of an array whose keys are integers.

If any of the keys of the array is non-numeric, the extents function returns empty.

# Tags

# See

- **keyword:** line - **command:** combine, split - **function:** keys, round, matrixMultiply, sum, max, min - **control structure:** function - **glossary:** array, integer