Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BaseRangeContainer<T>

An interface for anything that resembles a range of possible values.

Type parameters

  • T

Hierarchy

  • BaseRangeContainer

Implemented by

Index

Methods

contains

  • contains(item: T): boolean
  • Determines if item is in this range.

    Parameters

    • item: T

      The item to test

    Returns boolean

    True if the item is in the range

doesContainInRange

  • doesContainInRange(range: TypeRange<T>): boolean
  • Determines all of range is in this range

    Parameters

    Returns boolean

    True if this range contains range

mayContainInRange

  • mayContainInRange(range: TypeRange<T>): boolean
  • Determines any of range is in this range

    Parameters

    Returns boolean

    True if this range contains any element in range

Generated using TypeDoc