You can also use [...] to check, respectively, if an argument is an integer, a float, or either.
Answer
is_integer/1, is_float/1 or is_number/1
Tags
#elixir
Question
You can also use [...] to check, respectively, if an argument is an integer, a float, or either.
Answer
?
Tags
#elixir
Question
You can also use [...] to check, respectively, if an argument is an integer, a float, or either.
Answer
is_integer/1, is_float/1 or is_number/1
If you want to change selection, open original toplevel document below and click on "Move attachment"
Parent (intermediate) annotation
Open it You can also use is_integer/1, is_float/1 or is_number/1 to check, respectively, if an argument is an integer, a float, or either.
Original toplevel document
Basic types - The Elixir programming language dicate functions to check for a value type. For example, the is_boolean/1 function can be used to check if a value is a boolean or not: iex> is_boolean(true) true iex> is_boolean(1) false <span>You can also use is_integer/1, is_float/1 or is_number/1 to check, respectively, if an argument is an integer, a float, or either. Atoms An atom is a constant whose value is its own name. Some other languages call these symbols. They are often useful to enumerate over distinct values, such as: iex> :apple :apple
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.