contains<T> abstract method

bool contains<T>(
  1. T value
)

Check if the data contains a specific value.

{String, 'Hello, World!'}

data.contains<String>('Hello, World!'); // true

Implementation

bool contains<T>(T value);