canFind.canFind

Undocumented in source.
  1. enum canFind;
  2. enum canFind;
    template canFind(string s, char c)
    package @safe pure nothrow @nogc
    static if(!(s.length == 0))
    enum canFind = s[0] == c || canFind!(s[1..$], c);

Meta