#elixir
The arity of a function describes the number of arguments that the function takes.
If you want to change selection, open document below and click on "Move attachment"
Basic types - The Elixir programming languageon to get the integer part of a float. iex> round(3.58) 4 iex> trunc(3.58) 3 Identifying functions and documentation Functions in Elixir are identified by both their name and their arity. <span>The arity of a function describes the number of arguments that the function takes. From this point on we will use both the function name and its arity to describe functions throughout the documentation. trunc/1 identifies the function which is named trunc and takes 1 Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details