Allow events to be searched by location and period
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
7
lib/service/guards.ex
Normal file
7
lib/service/guards.ex
Normal file
@@ -0,0 +1,7 @@
|
||||
defmodule Mobilizon.Service.Guards do
|
||||
@moduledoc """
|
||||
Various guards
|
||||
"""
|
||||
|
||||
defguard is_nil_or_empty_string(value) when is_nil(value) or value == ""
|
||||
end
|
||||
Reference in New Issue
Block a user