KitchenSink v1.3.5 KitchenSink.Integer View Source

this module is for Integer functions

Link to this section Summary

Functions

Make sure that we get an integer either from an integer or string

Link to this section Functions

Make sure that we get an integer either from an integer or string

iex> ensure_integer(“1”) 1 iex> ensure_integer(2) 2