: (colon)
Creates a structure member.
Syntax
-
name: value-
nameis a string -
valueis any object
-
Description
If name is a valid identifier as a string and value any object, then name: value returns the StructMember structure with name and value as its values. This structure represents a structure member and is typically passed to the struct function.
This operator is implemented by the MakeMember function.
Examples
struct("FirstName": "Albus", "LastName": "Dumbledore", "Age": 105)
FirstName: Albus LastName: Dumbledore Age: 105