Skip to main content

The "sys_grid_last" Function

Syntax#

sys_grid_last(ds_grid);
ArgumentTypeDescription
ds_griddata structureThe data structure to check

Description#

Returns the last available index in the input ds_grid, or 'undefined' if the grid does not exist or is empty.

As this script is run automatically by other engine functions, it is almost never necessary to run sys_grid_last manually.