treffynnon/elm-tfn

Test the validity of a given TFN


Keywords
elm, elm-lang
License
Apache-2.0
Install
elm-package install treffynnon/elm-tfn 1.0.0

Documentation

elm-tfn

Test the validity of a given 8 or 9 digit Australian Tax File Number (TFN).

Usage

import Tfn

tfnIsValid = Tfn.isValid "555-000-555"
--> tfnIsValid == True

tfnIsInvalid = Tfn.isValid "123-456-789"
--> tfnIsInvalid == False

Licence

Copyright © 2017 Simon Holywell. Distributed under Apache 2.0 licence.