Type alias GetT<T>

GetT<T>: (() => T | undefined)

Type Parameters

  • T

    The type of the value to be retrieved.

Type declaration

    • (): T | undefined
    • Represents a function that retrieves a value of type T. Returns the value of type T if it exists, otherwise undefined.

      Returns T | undefined