NullableSetExtensions<T> extension

Provides an extension method for Set that is nullable.

NullableなSet用の拡張メソッドを提供します。

on

Properties

isEmpty bool

Available on Set<T>?, provided by the NullableSetExtensions extension

Whether this collection has no elements.
no setter
isNotEmpty bool

Available on Set<T>?, provided by the NullableSetExtensions extension

Whether this collection has at least one element.
no setter
length int

Available on Set<T>?, provided by the NullableSetExtensions extension

Returns the number of elements in Iterable.
no setter

Methods

contains(Object? element) bool

Available on Set<T>?, provided by the NullableSetExtensions extension

Whether the collection contains an element equal to element.
containsAll(Iterable<Object?> elements) bool

Available on Set<T>?, provided by the NullableSetExtensions extension

Returns true if Set contains all elements.
containsAny(Iterable<Object?> elements) bool

Available on Set<T>?, provided by the NullableSetExtensions extension

Returns true if Set contains any of elements.
equalsTo(Set<T>? others) bool

Available on Set<T>?, provided by the NullableSetExtensions extension

Returns true if the internals of Set and others are compared and match.