Liking cljdoc? Tell your friends :D

brazilian-utils.renavam.internal

Internal helpers for RENAVAM validation.

Internal helpers for RENAVAM validation.
raw docstring

base-lengthclj/s

source

calculate-dvclj/s

(calculate-dv base10)

Calculates RENAVAM check digit from the first 10 digits.

Calculates RENAVAM check digit from the first 10 digits.
sourceraw docstring

normalize-lengthclj/s

(normalize-length digits)

Pads old 9-digit RENAVAMs with leading zeros to 11 digits. Returns nil when length is not 9 or 11.

Pads old 9-digit RENAVAMs with leading zeros to 11 digits.
Returns nil when length is not 9 or 11.
sourceraw docstring

old-renavam-lengthclj/s

source

renavam-lengthclj/s

source

valid-check-digit?clj/s

(valid-check-digit? normalized)

Checks if the final digit matches the calculated check digit.

Checks if the final digit matches the calculated check digit.
sourceraw docstring

weightsclj/s

source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close