Last updated on
16 May 2021
|
Also applies to ColdFusion
Function | Description |
Duplicate | Returns a clone, also known as a deep copy, of a variable. |
IsStruct | Checks if a variable is a structure. |
StructAppend | Appends one structure to another. |
StructClear | Removes all data from a structure. |
StructCopy | Copies a structure. |
StructCount | Counts the keys in a structure. |
StructDelete | Removes an element from a structure. |
StructEach | Loops over elements in a structure by accessing key-value pairs. |
StructFind | Determines the value associated with a key in a structure. |
StructFindKey | Searches recursively through a substructure of nested arrays, structures, and other elements, for structures whose keys match the search key in the value parameter. |
StructFindValue | Searches recursively through a substructure of nested arrays, structures, and other elements for structures with values that match the search key in the value parameter. |
StructFilter | Filters the key-value pairs in a struct. |
StructGet | Returns a value in a structure or a structure in the specified path. |
StructGetMetadata | Gets metadata for key(s) in a struct. |
StructInsert | Inserts a key-value pair into a structure. |
StructIsCaseSensitive | Determines whether a struct is case-sensitive. |
StructIsOrdered | Determines whether a struct is ordered or not. |
StructIsEmpty | Checks if a structure is empty. |
StructKeyArray | Returns the keys in a CFML structure as an array. |
StructKeyExists | Checks if any key exists in a structure. |
StructKeyList | Extracts keys from a CFML structure. |
StructMap | Iterates over every entry of the Struct and calls the closure function to work on the key value pair of the struct. The returned value will be set for the same key in a new struct and the new struct will be returned. |
StructNew | Creates a structure object. |
StructSetMetadata | Sets metadata for key(s) in a struct. |
StructSort | Sorts the keys in a structure. |
StructReduce | Iterates over every entry of the struct and calls the closure to work on the key value pair of the struct. |
StructToSorted | Converts any struct to a sorted struct. |
StructUpdate | Updates a struct key with a value. |