UNPKG

559 BTypeScriptView Raw
1import { ValidationOptions } from '../ValidationOptions';
2import ValidatorJS from 'validator';
3export declare const IS_ISSN = "isISSN";
4/**
5 * Checks if the string is a ISSN.
6 * If given value is not a string, then it returns false.
7 */
8export declare function isISSN(value: unknown, options?: ValidatorJS.IsISSNOptions): boolean;
9/**
10 * Checks if the string is a ISSN.
11 * If given value is not a string, then it returns false.
12 */
13export declare function IsISSN(options?: ValidatorJS.IsISSNOptions, validationOptions?: ValidationOptions): PropertyDecorator;