Skip to content

[Enhancement] DefaultIfEmptyF should be implemented #24

Description

@Smurf-IV

Both versions of this to work with List<T>, Array[T], Span<T>, ReadOnlySpan<T> and IReadOnlyList<T>

If the source is null or empty, then default to creating an array so that max speed is maintained.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions