Skip to content

AIDC Toolkit / GS1 / NonGTINValidatorConstructor

Type Alias: NonGTINValidatorConstructor()<TIdentifierType>

NonGTINValidatorConstructor<TIdentifierType> = (identifierType) => IdentifierValidatorsRecord[TIdentifierType]

Defined in: src/identifier-validators.ts:141

Non-GTIN validator constructor type.

Type Parameters

TIdentifierType

TIdentifierType extends Exclude<IdentifierType, GTINType>

Identifier type type.

Parameters

identifierType

TIdentifierType

Returns

IdentifierValidatorsRecord[TIdentifierType]