Skip to content

Commit

Permalink
docs: Update def func ex to use wildcard
Browse files Browse the repository at this point in the history
Signed-off-by: Ashutosh Narkar <[email protected]>
  • Loading branch information
ashutosh-narkar authored Jul 28, 2023
1 parent 62122c0 commit 67533c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/policy-language.md
Original file line number Diff line number Diff line change
Expand Up @@ -1965,7 +1965,7 @@ Similar to rules, the `default` keyword can be applied to functions as well.
For example:

```live:eg/defaultfunc:module:read_only
default clamp_positive(x) := 0
default clamp_positive(_) := 0
clamp_positive(x) = x {
x > 0
Expand Down

0 comments on commit 67533c0

Please sign in to comment.