class
   CPF::Validator
 
  - CPF::Validator
- Reference
- Object
Overview
Provides CPF identifier validation method
Defined in:
cpf_cnpj/cpf/validator.crClass Method Summary
- 
        .valid?(value : String) : Bool
        
          Returns trueif the given value is a valid CPF identifier, otherwise returns false
Class Method Detail
        
        def self.valid?(value : String) : Bool
        #
      
      
        Returns true if the given value is a valid CPF identifier, otherwise
returns false
CPF::Validator.valid?("11111111111") # => false
CPF::Validator.valid?("64006183097") # => true