oneOf

Undocumented in source. Be warned that the author may not have intended to support it.
  1. bool oneOf(T val)
  2. bool oneOf(E[] arr, T val)
    bool
    oneOf
    (
    E
    T
    )
    (
    E[] arr
    ,
    T val
    )
    if (
    is(typeof(arr[0] == val))
    )

Meta