ReadonlySet
[<Interface>]
type ReadonlySet<'T> =
abstract member size: float
abstract member difference<'U> (other: ReadonlySetLike<'U>) : Set<'T>
abstract member entries () : Iterable<'T * 'T>
abstract member forEach (callbackfn: callbackfn<'T>, ?thisArg: obj) : unit
abstract member has (value: 'T) : bool
abstract member intersection<'U> (other: ReadonlySetLike<'U>) : Set<obj>
abstract member isDisjointFrom (other: ReadonlySetLike<obj>) : bool
abstract member isSubsetOf (other: ReadonlySetLike<obj>) : bool
abstract member isSupersetOf (other: ReadonlySetLike<obj>) : bool
abstract member keys () : Iterable<'T>
abstract member symmetricDifference<'U> (other: ReadonlySetLike<'U>) : Set<U2<'T,'U>>
abstract member union<'U> (other: ReadonlySetLike<'U>) : Set<U2<'T,'U>>
abstract member values () : Iterable<'T>| Assembly | Glutinum.Types |
| Inherits | obj \| null |
| Implements | Iterable<'T> |
| Attributes | [<AllowNullLiteral>] [<Interface>] |
Declared inside
forEach |
Properties
Methods
abstract member difference<'U> (other: ReadonlySetLike<'U>) : Set<'T>
abstract member difference<'U> (other: ReadonlySetLike<'U>) : Set<'T>Returns. a new Set containing all the elements in this Set which are not also in the argument.
abstract member entries () : Iterable<'T * 'T>
abstract member entries () : Iterable<'T * 'T>Returns an iterable of [v,v] pairs for every value v in the set.
abstract member intersection<'U> (other: ReadonlySetLike<'U>) : Set<obj>
abstract member intersection<'U> (other: ReadonlySetLike<'U>) : Set<obj>Returns. a new Set containing all the elements which are both in this Set and in the argument.
abstract member isDisjointFrom (other: ReadonlySetLike<obj>) : bool
abstract member isDisjointFrom (other: ReadonlySetLike<obj>) : boolReturns. a boolean indicating whether this Set has no elements in common with the argument.
abstract member isSubsetOf (other: ReadonlySetLike<obj>) : bool
abstract member isSubsetOf (other: ReadonlySetLike<obj>) : boolReturns. a boolean indicating whether all the elements in this Set are also in the argument.
abstract member isSupersetOf (other: ReadonlySetLike<obj>) : bool
abstract member isSupersetOf (other: ReadonlySetLike<obj>) : boolReturns. a boolean indicating whether all the elements in the argument are also in this Set.
abstract member keys () : Iterable<'T>
abstract member keys () : Iterable<'T>Despite its name, returns an iterable of the values in the set.
abstract member symmetricDifference<'U> (other: ReadonlySetLike<'U>) : Set<U2<'T,'U>>
abstract member symmetricDifference<'U> (other: ReadonlySetLike<'U>) : Set<U2<'T,'U>>Returns. a new Set containing all the elements which are in either this Set or in the argument, but not in both.
abstract member union<'U> (other: ReadonlySetLike<'U>) : Set<U2<'T,'U>>
abstract member union<'U> (other: ReadonlySetLike<'U>) : Set<U2<'T,'U>>Returns. a new Set containing all the elements in this Set and also all the elements in the argument.