@mikuroxina/mini-fn
    Preparing search index...

    Function singletonWith

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

      Type Parameters

      • T

      Parameters

      • value: () => T

        The function returns an element of list.

      Returns List.List<T>

      The list with one element.