Kernel.is_binary
You're seeing just the function
is_binary
, go back to Kernel module for more information.
Specs
Returns true
if term
is a binary; otherwise returns false
.
A binary always contains a complete number of bytes.
Allowed in guard tests. Inlined by the compiler.
Examples
iex> is_binary("foo")
true
iex> is_binary(<<1::3>>)
false