import std.stdio; import std.string; bool isValid(string password) in { assert(password.length>=5); } body { // other conditions return true; } void main() { writeln(isValid("password")); }
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more