NullIfEmptyOnQueueX<T> extension

on

Properties

nullIfEmpty Queue<T>?

Available on Queue<T>, provided by the NullIfEmptyOnQueueX extension

Returns null if the Queue is empty, otherwise returns the Queue.
no setter