isAmong

The function similar to functions "canFind" and "among".

  1. bool isAmong(Value value, Values values)
    bool
    isAmong
    (
    alias pred =
    (
    a
    ,
    b
    )
    => a == b
    Value
    Values...
    )
    (
    Value value
    ,
    Values values
    )
    if (
    Values.length != 0
    )
  2. bool isAmong(T value, T[] values)

Meta