View Source ElixirCLRut.Struct (ElixirCLRUT v1.0.3)

A struct that holds information of the rut.

Link to this section Summary

Functions

Standarizes the input and returns a struct that contains the formatted values.

Link to this section Functions

Link to this function

from(input, includes_checkdigit? \\ false)

View Source (since 1.0.1)
@spec from(String.t(), boolean()) :: struct()

Standarizes the input and returns a struct that contains the formatted values.

This structure must be passed down to the validator function for checking if the RUT is valid.