Skip to content

Commit

Permalink
feat: add is distinct from function
Browse files Browse the repository at this point in the history
  • Loading branch information
JazabC committed May 10, 2024
1 parent 3dc77ae commit 8ef5e6a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions extensions/functions_comparison.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,24 @@ scalar_functions:
return: boolean
nullability: DECLARED_OUTPUT
-
name: "is_distinct_from"
description: >
Whether two values are not equal.
This function treats `null` values as comparable, so
`is_distinct_from(null, null) == False`
This is in contrast to `equal`, in which `null` values do not compare.
impls:
- args:
- value: any1
name: x
- value: any1
name: y
return: boolean
nullability: DECLARED_OUTPUT
-
name: "lt"
description: >
Less than.
Expand Down

0 comments on commit 8ef5e6a

Please sign in to comment.