Skip to content

Contextual -> Contextual<T>

function Fusion.Contextual<T>(
    defaultValue: T
): Contextual<T>

Constructs and returns a new contextual.


Parameters

defaultValue : T

The value which Contextual:now() should return if no value has been specified by Contextual:is():during().


Returns -> Contextual<T>

A freshly constructed contextual.


Learn More

Back to top