Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IContains<T>

Generic interface for collection types to check if a given value is part of the collection.

Type parameters

  • T

Hierarchy

  • IContains

Index

Methods

Methods

contains

  • contains(x: T): boolean
  • Returns true if x is part of collection.

    Parameters

    • x: T

      value to check for

    Returns boolean

Generated using TypeDoc