ts-iterable-functions
    Preparing search index...

    Function fromSingleValue

    • Creates an iterable containing a single value.

      Type Parameters

      • T

        The type of the value.

      Parameters

      • item: T

        The value to wrap in an iterable.

      Returns Iterable<T>

      An iterable containing the single value.