Table.maxn

From GiderosMobile
Revision as of 23:35, 20 January 2023 by MoKaLux (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2022.3<br/> '''Class:''' table<br/> === Description === Returns the maximum numeric key of the provided table, or zero if the tab...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2022.3
Class: table

Description

Returns the maximum numeric key of the provided table, or zero if the table has no numeric keys. Gaps in the table are ignored.

(number) = table.maxn(t)

Parameters

t: (table) table to check

Return values

Returns (number) table maximum numeric key or zero