• Nullable takes a creation function for an arbitrary type and returns a creation function for a nullable value of that type.

    Type Parameters

    • T

    Parameters

    • element: ((source) => T)
        • (source): T
        • Parameters

          • source: any

          Returns T

    Returns ((source) => null | T)

      • (source): null | T
      • Parameters

        • source: any

        Returns null | T

Generated using TypeDoc