Tests whether the target string is a credit card number
target
expect(isCreditCard('4716-2210-5188-5662').value).toBeTruthy()
The target string
Generated using TypeDoc
Tests whether the
target
string is a credit card numberExample