contains method

bool contains(
  1. E element
)

Check if element exists.

Implementation

bool contains(E element) => val.contains(element);