1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-31 20:36:21 +00:00
mobilizon/lib/service/guards.ex
Thomas Citharel 3807ab1b63
Allow events to be searched by location and period
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-08-10 15:40:18 +02:00

7 lines
158 B
Elixir

defmodule Mobilizon.Service.Guards do
@moduledoc """
Various guards
"""
defguard is_nil_or_empty_string(value) when is_nil(value) or value == ""
end