Skip to content

ref

function ref(attributePath, defaultTo?): ValueReference;

Creates a reference to another attribute’s value.

string

The path of the attribute to reference.

any

An optional default value if the referenced attribute does not exist.

ValueReference