View Source Arke.Core.Parameter.Boolean (Arke v1.1.33)
Module that define the struct of a Boolean by extending the Arke.Core.Parameter.base_parameters()
{arke_struct} = Parameter.Boolean
element-added
Element added
default
=> Boolean => default value
example
Example
iex> params = [id: :boolean_test, default: false]
...> Arke.Core.Parameter.Boolean(%{type: :boolean, opts: params})
return
Return
%Arke.Core.Parameter.Boolean{}