Skip to content

Commit

Permalink
Update docs/cadence/language/values-and-types.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Bastian Müller <[email protected]>
  • Loading branch information
darkdrag00nv2 and turbolent authored Oct 7, 2023
1 parent 5d0f7d9 commit 49ced90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cadence/language/values-and-types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1318,7 +1318,7 @@ are available for both variable-sized and fixed-sized or variable-sized arrays.
-
```cadence
access(all)
fun filter(_ f: (T: Bool)): [T]
fun filter(_ f: fun(T): Bool): [T]
```

Returns a new array whose elements are filtered by applying the filter function on each element
Expand Down

0 comments on commit 49ced90

Please sign in to comment.