detect

fun detect(card: String, brands: List<VgsCardBrand> = DEFAULT): VgsCardBrand

Returns the first brand from brands whose regex matches card, or UNKNOWN when nothing matches.