(value is null or condition): an optional filter, Pg.if_some(team, #code it.team_id == team)
with team: Nullable(s64), where team stands for its value inside the condition.
- value: the optional value.
- condition: the filter used when
valueis set.
if_some :: (value: $T, condition: Code) -> bool
(value is null or condition): an optional filter, Pg.if_some(team, #code it.team_id == team)
with team: Nullable(s64), where team stands for its value inside the condition.
Parameters
- value: $T
- the optional value.
- condition: Code
- the filter used when
valueis set.
Returns
- bool