Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Tags
#elixir
Question
Which function can be used to check if a value is a boolean or not?
Answer
is_boolean/1

Tags
#elixir
Question
Which function can be used to check if a value is a boolean or not?
Answer
?

Tags
#elixir
Question
Which function can be used to check if a value is a boolean or not?
Answer
is_boolean/1
If you want to change selection, open original toplevel document below and click on "Move attachment"

Parent (intermediate) annotation

Open it
Elixir provides a bunch of predicate 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:

Original toplevel document

Basic types - The Elixir programming language
splays the documentation for IEx.Helpers, which is where h and other functionality is defined. Booleans Elixir supports true and false as booleans: iex> true true iex> true == false false <span>Elixir provides a bunch of predicate 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 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 eith

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised 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.