MCPcopy Create free account
hub / github.com/corestoreio/pkg / IsISBN

Function IsISBN

util/validation/validator.go:563–591  ·  view source on GitHub ↗

IsISBN check if the string is an ISBN (version 10 or 13). If version value is not equal to 10 or 13, it will be check both variants.

(str string, version int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

IsISBN10Function · 0.85
IsISBN13Function · 0.85
TestIsISBNFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestIsISBNFunction · 0.68