gradum-kit - v0.1.0
    Preparing search index...

    Function getSignal

    • Function

      getSignal

      Type Parameters

      • Type = any

        The type of the value held by the signal.

      Parameters

      • target: object

        The object the signal is bound to.

      • key: PropertyKey

        The key of the signal inside target.

      Returns SignalEntry<Type>

      The signal, or undefined if key is not reactive on target.

      Retrieve the signal backing a reactive property, to read or subscribe to it without going through the property itself.