UNPKG

fast-luhn

Version:

A fast Luhn algorithm for validating credit cards

5 lines (3 loc) 87 B
import {expectType} from 'tsd'; import luhn from '.'; expectType<boolean>(luhn(''));