NullableSetExtensions<T> extension

Provides an extension method for Set that is nullable.

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

on

Properties

isEmpty bool
Whether this collection has no elements.
no setter
isNotEmpty bool
Whether this collection has at least one element.
no setter
length int
Returns the number of elements in Iterable.
no setter

Methods

contains(Object? element) bool
Whether the collection contains an element equal to element.
containsAll(Iterable<Object?> elements) bool
Returns true if Set contains all elements.
containsAny(Iterable<Object?> elements) bool
Returns true if Set contains any of elements.
equalsTo(Set<T>? others) bool
Returns true if the internals of Set and others are compared and match.