Schema for formatted alphanumeric CNPJ: XX.XXX.XXX/XXXX-XX (with letters)
Schema for formatted alphanumeric CNPJ: XX.XXX.XXX/XXXX-XX (with letters)
Schema for unformatted alphanumeric CNPJ: 12 chars (A-Z or 0-9) + 2 numeric DVs
Schema for unformatted alphanumeric CNPJ: 12 chars (A-Z or 0-9) + 2 numeric DVs
Schema for formatted numeric CNPJ: XX.XXX.XXX/XXXX-XX
Schema for formatted numeric CNPJ: XX.XXX.XXX/XXXX-XX
Schema for numeric CNPJ: exactly 14 digits
Schema for numeric CNPJ: exactly 14 digits
(is-alfanumeric? cnpj)Returns true if the cleaned CNPJ is alphanumeric (length 14, last two digits numeric, contains a letter).
Args: cnpj - The CNPJ string to check
Returns: true if alphanumeric with required shape, false otherwise
Returns true if the cleaned CNPJ is alphanumeric (length 14, last two digits numeric, contains a letter). Args: cnpj - The CNPJ string to check Returns: true if alphanumeric with required shape, false otherwise
(is-formatted-alfanumeric? cnpj)Checks if CNPJ is formatted (alphanumeric with mask).
Args: cnpj - The CNPJ string to check
Returns: true if formatted with alphanumeric mask, false otherwise
Checks if CNPJ is formatted (alphanumeric with mask). Args: cnpj - The CNPJ string to check Returns: true if formatted with alphanumeric mask, false otherwise
(is-formatted? cnpj)Checks if CNPJ is formatted (numeric with mask).
Args: cnpj - The CNPJ string to check
Returns: true if formatted with numeric mask, false otherwise
Checks if CNPJ is formatted (numeric with mask). Args: cnpj - The CNPJ string to check Returns: true if formatted with numeric mask, false otherwise
(is-numeric? cnpj)Returns true if the CNPJ (cleaned) is numeric with 14 digits.
Args: cnpj - The CNPJ string to check
Returns: true if numeric with 14 digits, false otherwise
Returns true if the CNPJ (cleaned) is numeric with 14 digits. Args: cnpj - The CNPJ string to check Returns: true if numeric with 14 digits, false otherwise
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |