nit_validator 1.0.1 copy "nit_validator: ^1.0.1" to clipboard
nit_validator: ^1.0.1 copied to clipboard

A simple tool for offline check nit number, this use an simple algorithm to check if this is ok and returns a boolean according to the input.

example/README.md

Example #

From any place of your code, only call validateNIT function. Then this check the nit number and return an boolean value.

It require only nit as a param. This will be input to check.

import 'package:nit_validator/nit_validator.dart';

validateNIT("") == false
validateNIT("99999") == false
validateNIT("101735529") == true
validateNIT("1487010k") == true
validateNIT("1487010-k") == true

If it's ok, return true or else return false

3
likes
160
points
7
downloads

Publisher

verified publisherbrandonmanzo.dev

Weekly Downloads

A simple tool for offline check nit number, this use an simple algorithm to check if this is ok and returns a boolean according to the input.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on nit_validator