Skip to content

AIDC Toolkit / GS1 / hasValidCheckDigit

Function: hasValidCheckDigit()

hasValidCheckDigit(s): boolean

Defined in: src/check.ts:97

Determine if a numeric string has a valid check digit.

Parameters

s

string

Numeric string with check digit.

Returns

boolean

True if the check digit is valid.