Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 286 Bytes

isValidCpf.md

File metadata and controls

17 lines (10 loc) · 286 Bytes

isValidCpf

Validates if the value is a valid CPF.

Arguments

  • value: string: value to be validated

Usage

import { isValidCpf } from '@platformbuilders/validations';

isValidCpf('123.456.789-00'); // return false

isValidCpf('921.567.210-92'); // return true