isValidString

fnbool isValidString(S)(const scope S s) @safe pure nothrow

Checks to see if string is well formed or not. S can be an array of char, wchar, or dchar. Returns false if it is not. Use to check all untrusted input for correctness.