expect

Undocumented in source. Be warned that the author may not have intended to support it.

  1. bool expect(R range, T element)
  2. int expect(R range, const(C)[] s)
    package
    int
    expect
    (
    R
    C
    )
    (
    ref R range
    ,
    const(C)[] s
    )
    if (
    isInputRange!R &&
    isSomeChar!C
    )

Meta