ref
function ref(attributePath, defaultTo?): ValueReference;Creates a reference to another attribute’s value.
Parameters
Section titled “Parameters”attributePath
Section titled “attributePath”string
The path of the attribute to reference.
defaultTo?
Section titled “defaultTo?”any
An optional default value if the referenced attribute does not exist.