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

Treatment contains

std/ops/vec::contains


Generics

◻ T: PartialEquality

Inputs

⇥ value: Stream<T>
⇥ vec: Stream<Vec<T>>

Outputs

↦ contains: Stream<bool>


Pair-wise membership check over two streams.

For each (value, vec) pair received from the two streams, emit true through contains if vec contains value.