7.3.4. ref

ref(parent, x)[source]

If the input is a valid reference, returns the captured values otherwise the input.

Parameters:
Returns:

If the input is a valid reference, returns the captured values otherwise the input.

Return type:

object