matches

fun matches(type: String): Boolean