fromTerm

fun fromTerm(term: <ERROR CLASS>): DomainError.Expected?

Gets Expected instance from term representation, if possible