If
public struct If: Fn
If evaluates and returns then expr or else expr depending on the value of pred. If pred evaluates to anything other than a boolean, if returns an “invalid argument” error.
FaunaDB Docs (82% documented)
public struct If: Fn
If evaluates and returns then expr or else expr depending on the value of pred. If pred evaluates to anything other than a boolean, if returns an “invalid argument” error.