Indicates that the annotated property's string value contains source code written in language.
language
The language that the source code is written in.
Examples:
"x = 42"
"Pkl"
"42"
"PklExpr"
prefix
"x = "
A source code prefix to help tools understand the source code.
For example, an expression may not be considered valid unless wrapped in a statement.
A source code suffix to help tools understand the source code.
Returns the class of this.
this
Returns a string representation of this.
This method is used to convert the values of string interpolation expressions to strings.
Returns this |> transform if this is non-null, and null otherwise.
this |> transform
null
This method is the complement of the ?? operator and the equivalent of an Option type's map and flatMap methods.
??
Option
map
flatMap
Tells if this object has a property with the given name.
name
Returns the value of the property with the given name.
Throws if a property with this name does not exist.
Returns null if a property with this name does not exist.
Converts this object to a Dynamic object.
Dynamic
Converts this object to a Map.
Map
Indicates that the annotated property's string value contains source code written in
language
.