• ng.Filter.cvv is not available in the Lite version

String ng.Filter.cvv (Mixed val, type mixed) vs. 1.1.0 FULL ONLY

Filters a value as a credit card cvv number based on the card type.

Parameters

Mixed val Required vs. 1.1.0 Full+Lite
The value to filter.
type mixed Required vs. 1.1.0 Full+Lite
The credit card type. This can be a string value amex or a different credit card type (e.g. visa). It can also be an integer of the maximum numbers of digits allowed.

Return

String Required vs. 1.1.0 Full+Lite
The value filtered.

Examples

Using ng.Filter.cvv(val, type)
Demo: