Reactive APIs
    Preparing search index...

    Function toReactiveGetter

    • Normalizes the given maybeReactive value to a reactive getter.

      Returns the argument as-is if it's already a function. Returns a function dereferencing the signal or value otherwise.

      Type Parameters

      • T

      Parameters

      Returns ReactiveGetter<T>