contains

Whether array contains value, no BS.

  1. bool contains(T[] arr, V val)
    bool
    contains
    (
    T
    V
    )
    (
    in T[] arr
    ,
    auto ref in V val
    )
    if (
    is(typeof(arr[0] == val))
    )
  2. bool contains(T[] str, U[] what)

Meta