Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

Latest commit

 

History

History
21 lines (16 loc) · 555 Bytes

isbn13.md

File metadata and controls

21 lines (16 loc) · 555 Bytes

Isbn13

Validates if the input is ISBN-13.

Valid values:

validator.isbn13().validate('9783836221191');
validator.isbn13().validate('978-3-8362-2119-');
validator.isbn13().validate('978 3 8362 2119 1');
validator.isbn13().validate('9783401013190');

Invalid values:

validator.isbn13().validate('9783836221190');
validator.isbn13().validate('978-3-8362-2119-0');
validator.isbn13().validate('978 3 8362 2119 0');
validator.isbn13().validate('3836221195');