Bottle.Binary.is_binary_shorter_than

You're seeing just the macro is_binary_shorter_than, go back to Bottle.Binary module for more information.
Link to this macro

is_binary_shorter_than(sub, max_length)

View Source (macro)

Guard that passes for a binary shorter than max_length

Examples

iex> is_binary_shorter_than("foo", 200) true

iex> is_binary_shorter_than("", 2) true

iex> is_binary_shorter_than("foo", 2) false

iex> is_binary_shorter_than({"anything", "else"}, 2) false