-
Functions
- isQRIBAN(iban)
- isIBANValid(iban)
- formatIBAN(iban)
- isQRReference(reference)
- isQRReferenceValid(reference)
- isSCORReference(reference)
- isSCORReferenceValid(reference)
- calculateSCORReferenceChecksum(reference)
- calculateQRReferenceChecksum(reference)
- formatQRReference(reference)
- formatSCORReference(reference)
- formatReference(reference)
- formatAmount(amount)
- mm2pt(millimeters)
- pt2mm(points)
- mm2px(millimeters)
- px2mm(pixels)
- getReferenceType(reference)
Defined in: src/shared/utils.ts
- iban
string
The IBAN to be checked.
boolean
true
if the given IBAN is a QR-IBAN and false
Checks whether the given iban is a QR-IBAN or not.
Defined in: src/shared/utils.ts
- iban
string
The IBAN to be checked.
boolean
true
if the checksum of the given IBAN is valid and false
Validates the given IBAN.
Defined in: src/shared/utils.ts
- iban
string
The IBAN to be formatted.
string
The formatted IBAN.
Formats the given IBAN according the specifications to be easily readable.
Defined in: src/shared/utils.ts
- reference
string
The Reference to be checked.
boolean
true
if the given reference is a QR-Reference and false
Checks whether the given reference is a QR-Reference or not.
The QR-Reference is a 27 digits long string containing only digits. The last digit is the checksum.
Defined in: src/shared/utils.ts
- reference
string
The reference to be checked.
boolean
true
if the given reference is valid and false
Validates the given QR-Reference.
Defined in: src/shared/utils.ts
- reference
string
The Reference to be checked.
boolean
true
if the given reference is a SCOR-Reference and false
Checks whether the given reference is a SCOR-Reference or not.
The SCOR-Reference is an alphanumeric string beginning with 'RF' and containing a 2 digit checksum and a max 21 digits long reference.
Defined in: src/shared/utils.ts
- reference
string
The reference to be checked.
boolean
true
if the given reference is valid and false
Validates the given SCOR-Reference.
Defined in: src/shared/utils.ts
- reference
string
The max 21 digits long reference (without the "RF" and the 2 digit checksum) whose checksum should be calculated.
string
The calculated checksum as 2 digit string.
Calculates the checksum according to the ISO 11649 standard.
Defined in: src/shared/utils.ts
- reference
string
The 26 digits long reference (without the checksum) whose checksum should be calculated.
string
The calculated checksum.
Calculates the checksum according the specifications.
Defined in: src/shared/utils.ts
- reference
string
The QR-Reference to be formatted.
string
The formatted QR-Reference.
Formats the given QR-Reference according the specifications to be easily readable.
Defined in: src/shared/utils.ts
- reference
string
The SCOR-Reference to be formatted.
string
The formatted SCOR-Reference.
Formats the given SCOR-Reference according the specifications to be easily readable.
Defined in: src/shared/utils.ts
- reference
string
The reference to be formatted.
string
The formatted reference.
Detects the type of the given reference and formats it according the specifications to be easily readable.
Defined in: src/shared/utils.ts
- amount
number
Containing the amount to be formatted.
string
The formatted amount.
Formats the given amount according the specifications to be easily readable.
Defined in: src/shared/utils.ts
- millimeters
number
The millimeters you want to convert to points.
number
The converted millimeters in points.
Converts millimeters to points.
Defined in: src/shared/utils.ts
- points
number
The points you want to convert to millimeters.
number
The converted points in millimeters.
Converts points to millimeters.
Defined in: src/shared/utils.ts
- millimeters
number
The millimeters you want to convert to pixels.
number
The converted millimeters in pixels.
Converts millimeters to pixels.
Defined in: src/shared/utils.ts
- pixels
number
Containing the pixels you want to convert to millimeters.
number
The converted pixels in millimeters.
Converts pixels to millimeters.
Defined in: src/shared/utils.ts
"NON"
| "QRR"
| "SCOR"
The type of the given reference.
Detects the type of the given reference.