Options
All
  • Public
  • Public/Protected
  • All
Menu
upsetjs/model

https://github.com/upsetjs/upsetjs

Copyright (c) 2021 Samuel Gratzl sam@sgratzl.com

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

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