> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nanoforge.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# IsISBN

> Checks if the string is an ISBN (version 10 or 13). If given value is not a string, then it returns false.

> **IsISBN**(`version?`, `validationOptions?`): `PropertyDecorator`

Defined in: node\_modules/.pnpm/class-validator\@0.14.4/node\_modules/class-validator/types/decorator/string/IsISBN.d.ts:13

Checks if the string is an ISBN (version 10 or 13).
If given value is not a string, then it returns false.

## Parameters

### version?

`IsISBNVersion`

### validationOptions?

`ValidationOptions`

## Returns

`PropertyDecorator`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.