MavuUtils.Blankable protocol (MavuUtils v1.0.5) View Source

Elixir implementation of blank?, with similar behaviour to ActiveSupport's implementation fork from https://github.com/samsondav/blankable/

Examples

iex> Blankable.blank?(nil)
true
iex> Blankable.blank?("")
true
iex> Blankable.blank?([])
true
iex> Blankable.blank?("Hello")
false

Link to this section Summary

Types

t()

All the types that implement this protocol.

Link to this section Types

Specs

t() :: term()

All the types that implement this protocol.

Link to this section Functions