Skip to content

Commit

Permalink
Add unformatted CPF example to docs (#488)
Browse files Browse the repository at this point in the history
  • Loading branch information
diogocampos committed Aug 26, 2020
1 parent 658b1ff commit 91a35d0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/person/cpf.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@ Generate a random Brazilian tax id.
chance.cpf();
=> '607.116.899-62'
```

Optionally omit punctuation:

```js
chance.cpf({ formatted: false });
=> '18641718397'
```

0 comments on commit 91a35d0

Please sign in to comment.