Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Commit 43d2c31

Browse files
sadedilfknop
authored andcommitted
A duplicate orderBy usage example removed (#47)
1 parent cd1dd63 commit 43d2c31

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/array.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,6 @@ const values = [
436436
{{ values | orderBy: '+a' }} <!-- Will order the values by a (asc)-->
437437
{{ values | orderBy: ['a'] }} <!-- Will order the values by a (asc)-->
438438
{{ values | orderBy: '-a' }} <!-- Will order the values by a (desc)-->
439-
{{ values | orderBy: ['-a', 'b'] }} <!-- Will order the values by a (desc)-->
440439
{{ values | orderBy: ['-a', 'b'] }} <!-- Will order the values by a (desc) and b (asc) -->
441440
{{ values | orderBy: ['-a', '+b'] }} <!-- Will order the values by a (desc) and b (asc) -->
442441
{{ values | orderBy: ['-a', '-b'] }} <!-- Will order the values by a (desc) and b (desc) -->
@@ -685,4 +684,4 @@ import { FlattenPipe } from 'angular-pipes/src/array/flatten.pipe';
685684
{{ [[1, 2, 3, 4]] | flatten }} <!-- [1, 2, 3, 4] -->
686685
{{ [[1, 2, 3, [4]] | flatten }} <!-- [1, 2, 3, [4]] -->
687686
{{ [[1, 2, 3, [4]] | deep | flatten }} <!-- [1, 2, 3, 4] -->
688-
```
687+
```

0 commit comments

Comments
 (0)