fn
makeNumeric
testedReturns a segment representing the given string of decimal digits encoded in numeric mode.
Signature
ts
export function makeNumeric(digits: string): QrSegment{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
digits | string | — |
Returns
QrSegment| Property | Type | Description |
|---|---|---|
mode | QrSegmentMode | — |
numChars | number | — |
bitData | readonly number[] | — |