estimate

fun estimate(cardNumber: String): List<CardBrand>

Estimate all potential CardBrands for a given card number.

Return

All matching CardBrands if the number was valid, otherwise an empty List.

Parameters

cardNumber

The potential card number.