Liking cljdoc? Tell your friends :D

brazilian-utils.processo-juridico.internal


processo-lengthclj/s

Standard length of a Brazilian legal process number (processo jurídico). Format: NNNNNNN-DD.AAAA.J.TT.OOOO (20 digits total)

Standard length of a Brazilian legal process number (processo jurídico).
Format: NNNNNNN-DD.AAAA.J.TT.OOOO (20 digits total)
sourceraw docstring

verify-digit*clj/s

(verify-digit* processo)

Verifies check digits using MOD 97-10 algorithm.

The MOD 97-10 algorithm rearranges the processo number and verifies that the modulo 97 equals 1, ensuring check digit validity.

Original format: NNNNNNN-DD.AAAA.J.TT.OOOO Positions: 0-6 7-8 9-12 13 14-15 16-19

Args: processo - 20-digit processo string

Returns: true if check digits are valid, false otherwise

Verifies check digits using MOD 97-10 algorithm.

The MOD 97-10 algorithm rearranges the processo number and verifies
that the modulo 97 equals 1, ensuring check digit validity.

Original format: NNNNNNN-DD.AAAA.J.TT.OOOO
Positions:       0-6    7-8  9-12 13 14-15 16-19

Args:
  processo - 20-digit processo string

Returns:
  true if check digits are valid, false otherwise
sourceraw docstring

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