Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T = any

Hierarchy

Index

Properties

Readonly cardinality

cardinality: number

number of elements in the set

Optional Readonly color

color?: string

optional set color

Readonly elems

elems: readonly T[]

elements in this set

Readonly name

name: string

name of the set

Readonly type

type: "set"

a fixed set type to separate between sets and set combinations

Methods

Optional overlap

  • overlap(o: readonly T[] | ISetLike<T>): number
  • custom overlap computation function

    Parameters

    • o: readonly T[] | ISetLike<T>

      to compare with

    Returns number