• Creates a list with one element from the specified function.

    Type Parameters

    • T

    Parameters

    • value: (() => T)

      The function returns an element of list.

        • (): T
        • Returns T

    Returns List<T>

    The list with one element.

Generated using TypeDoc