Adaptive Framework 0.9.0

const

The following is a list of properties for the function const:

PropertyValue
briefDefine one or more constants in the current block
categoryscript
descriptionDefine one or more statically scoped constants local to the current script block with a permanent value. These constants can be accessed from the current block and inner blocks, but can not be assigned a different value.
functionIdconst
functionLabelconst
parameters[ { "dataType": "list", "dataTypeParameter": "string", "description": "The name of one or more constants to defined in the current block.", "name": "name" }, { "canBeUndefined": true, "description": "This is the value of the constant(s).", "name": "value", "optional": false }, { "dataType": "object", "dataTypeParameter": "_AdaptiveValueMeta_", "description": "The type of the constant(s).", "name": "type", "optional": true } ]
puretrue
returns{ "description": "The value assigned." }
scriptSupporttrue