Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 545 Bytes

api.icontains.md

File metadata and controls

20 lines (12 loc) · 545 Bytes

Home > @thi.ng/api > IContains

IContains interface

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

Signature:

export interface IContains<T> 

Methods

Method Description
contains(x) Returns true if x is part of collection.