builtin(list): add List.countIf

Closes #4174

Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
This commit is contained in:
Prajwal S N 2022-10-12 23:21:14 +05:30
parent 795bd3ff09
commit a3e6345257
No known key found for this signature in database
GPG key ID: D0FECEE245BC2695
3 changed files with 100 additions and 0 deletions

View file

@ -1377,6 +1377,7 @@ define_builtins! {
74 LIST_MAP_TRY: "mapTry"
75 LIST_WALK_TRY: "walkTry"
76 LIST_WALK_BACKWARDS_UNTIL: "walkBackwardsUntil"
77 LIST_COUNT_IF: "countIf"
}
7 RESULT: "Result" => {
0 RESULT_RESULT: "Result" exposed_type=true // the Result.Result type alias