Expression Language
Also available as:
PDF

literal

Description: Returns its argument as a literal String value. This is useful in order to treat a string or a number at the beginning of an Expression as an actual value, rather than treating it as an attribute name. Additionally, it can be used when the argument is an embedded Expression that we would then like to evaluate additional functions against.

Subject Type: No Subject

Arguments:

  • value : The value to be treated as a literal string, number, or boolean value.

Return Type: String

Examples: ${literal(2):gt(1)} returns true

${literal( ${allMatchingAttributes('a.*'):count()} ):gt(3)} returns true if there are more than 3 attributes whose names begin with the letter a.