Test if string is valid EAN: Matches EAN-8/EAN-13 regex Has valid check digit.
expect(isEAN('9421023610112').value).toBeTruthy()
The target
Generated using TypeDoc
Test if string is valid EAN: Matches EAN-8/EAN-13 regex Has valid check digit.
Example