export function isValidInputType(cardNumber: T): boolean { return typeof cardNumber === "string" || cardNumber instanceof String; }