@kayahr/signal
    Preparing search index...

    Type Alias Getter<T>

    Getter: () => T

    Reads the current value of a signal or memo.

    Calling a getter inside a computation tracks the accessed value as a dependency of that computation.

    Type Parameters

    • T

    Type Declaration

      • (): T
      • Returns T

        The current value.