Algosim documentation: StructKeys

StructKeys

Returns an array containing a structure’s key names as strings.

Syntax

Description

If S is a structure, then StructKeys(S) returns an array containing the key names in S, in the same order as in S.

Example

date()
year: 2020
month: August
day: 12
StructKeys(ans)
year
month
day

See also