matchPrefix

fun matchPrefix(terms: List<String>): Int?

Returns the number of input terms consumed when terms match this expression from the start.