ShouldType.requireWord

Allows to check that a specified word appeared in the phrase before the current word. On failure, an informative error is printed. Usage: should.requireWord!"word".before!"newWord";

struct ShouldType(G, string[] phrase = [])
template requireWord (
string requiredWord
) {}

Members

Functions

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

Meta