Skip to content

Commit 774c32b

Browse files
committed
this too
1 parent 6b2a19e commit 774c32b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/compound.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ export class ArrayResult<const T> {
7070
return new ArrayResult([...this.array].sort(comparer));
7171
}
7272
}
73-
sortBy(mapper: (value: T) => number): ArrayResult<T> {
74-
return this.sort((left, right) => mapper(left) - mapper(right));
75-
}
73+
// sortBy(mapper: (value: T) => number): ArrayResult<T> {
74+
// return this.sort((left, right) => mapper(left) - mapper(right));
75+
// }
7676
// addErrorWhenNone(error: () => ResultError): ArrayResult<T> {
7777
// if (this.isError() && this.errors.length === 0) {
7878
// return ArrayResult.errors([error()]);

0 commit comments

Comments
 (0)