Isbn

  • v::isbn()

Validates whether the input is a valid ISBN or not.

v::isbn()->validate('ISBN-13: 978-0-596-52068-7'); // true
v::isbn()->validate('978 0 596 52068 7'); // true
v::isbn()->validate('ISBN-12: 978-0-596-52068-7'); // false
v::isbn()->validate('978 10 596 52068 7'); // false

Categorization

  • Identifications

Changelog

Version Description
2.0.0 Created

See also: