← back to roto on ba3a.dev

validate

fun validate(name: String, what: String)

Throws unless name follows the rule; what names it in the message.