Verifies if a check digit is correct

check_dig(num)

Arguments

num

String containing the complete lawsuit number

Value

Whether or not the check digit is well calculated

Examples

{
  check_dig("0005268-75.2013.8.26.0100")
}
#> [1] TRUE