Skip to content

Commit 89a7349

Browse files
Merge pull request #157 from SebMouren/patch-4
Correct countOrCondition optional parameter meaning when it is a condition
2 parents ebe1e5a + 4c2fa7d commit 89a7349

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

query-languages/m/list-removefirstn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ List.RemoveFirstN(<b>list</b> as list, optional <b>countOrCondition</b> as any)
1515
Returns a list that removes the first element of list `list`. If `list` is an empty list an empty list is returned. This function takes an optional parameter, `countOrCondition`, to support removing multiple values as listed below.
1616

1717
* If a number is specified, up to that many items are removed.
18-
* If a condition is specified, the returned list begins with the first element in `list` that meets the criteria. Once an item fails the condition, no further items are considered.
18+
* If a condition is specified, the returned list begins with the first element in `list` that doesn't meet the criteria. Once an item fails the condition, no further items are considered.
1919
* If this parameter is null, the default behavior is observed.
2020

2121
## Example 1

query-languages/m/list-skip.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ List.Skip(<b>list</b> as list, optional <b>countOrCondition</b> as any) as list
1515
Returns a list that skips the first element of list `list`. If `list` is an empty list an empty list is returned. This function takes an optional parameter, `countOrCondition`, to support skipping multiple values as listed below.
1616

1717
* If a number is specified, up to that many items are skipped.
18-
* If a condition is specified, the returned list begins with the first element in `list` that meets the criteria. Once an item fails the condition, no further items are considered.
18+
* If a condition is specified, the returned list begins with the first element in `list` that doesn't meet the criteria. Once an item fails the condition, no further items are considered.
1919
* If this parameter is null, the default behavior is observed.
2020

2121
## Example 1

0 commit comments

Comments
 (0)