const
The following is a list of properties for the function const
:
Property | Value |
---|---|
brief | Define one or more constants in the current block |
category | script |
description | Define 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. |
functionId | const |
functionLabel | const |
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 } ] |
pure | true |
returns | { "description": "The value assigned." } |
scriptSupport | true |