Skip to main content

string

Vasyl MartyniukLess than 1 minute

Syntax

(*string)${...}

FYI!

By default, all markers and inline values are converted to string.

Examples

  • (*string)${CALLBACK.get_user_identifier} - converts return value from the callback function to a string

Definition

Cast the provided value to a string. It is the default typecast, and all values without typecast are automatically converted to a string.

{
    "Statement": {
        "Effect": "allow",
        "Resource": "PostType:post:posts",
        "Action": [
            "Edit",
            "Delete"
        ],
        "Condition": {
            "Equals": {
                "${USER.display_name}": "John Smith"
            }
        }
    }
}
Virtual Assistant