R/id.R
is_isbn.Rd
Validates ISBN-10 and ISBN-13 formats, including check digit verification. Hyphens and spaces are allowed as separators.
is_isbn(x)
(any) Object to check.
any
TRUE if x is a valid ISBN string, FALSE otherwise.
TRUE
x
FALSE
https://en.wikipedia.org/wiki/International_Standard_Book_Number
is_isbn("978-0-306-40615-7") #> [1] TRUE