From e3bd6e3ba0484d18a076b2a90a61736d2e719daa Mon Sep 17 00:00:00 2001 From: Alexander Rose <alexander.rose@weirdbyte.de> Date: Wed, 11 Jul 2018 19:27:53 -0700 Subject: [PATCH] doc tweak --- src/mol-data/int/sorted-array.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mol-data/int/sorted-array.ts b/src/mol-data/int/sorted-array.ts index 3e343fd5e..921700b67 100644 --- a/src/mol-data/int/sorted-array.ts +++ b/src/mol-data/int/sorted-array.ts @@ -14,7 +14,7 @@ namespace SortedArray { export const ofSortedArray: <T extends number = number>(xs: ArrayLike<number>) => SortedArray<T> = Impl.ofSortedArray as any; // create sorted array [min, max] (it DOES contain the max value) export const ofRange: <T extends number = number>(min: T, max: T) => SortedArray<T> = Impl.ofRange as any; - // create sorted array [min, max) (it DOES not contain the max value) + // create sorted array [min, max) (it does NOT contain the max value) export const ofBounds: <T extends number = number>(min: T, max: T) => SortedArray<T> = (min, max) => Impl.ofRange(min, max - 1) as any; export const is: <T extends number = number>(v: any) => v is SortedArray<T> = Impl.is as any; -- GitLab