Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Function |contains

std/ops/vec::|contains


Usage

|contains<T>(vector, value)

Generics

◻ T: PartialEquality

Parameters

↳ vector: Vec<T>
↳ value: T

Return

bool


Return true if vector contains a value equal to value.