// usage
chance.cc_type()
chance.cc_type({raw: true})
Return a random credit card type.
chance.cc_type();
=> 'Visa'
Default returns just the name. To return the entire object (consisting of name, short name, numeric prefix, and length), specify so with the raw flag.
chance.cc_type({raw: true});
=> {name: 'Discover Card', short_name: 'discover', prefix: '6011', length: 16}
The available types are (name - short_name):