Skip to content
Snippets Groups Projects
Commit e3bd6e3b authored by Alexander Rose's avatar Alexander Rose
Browse files

doc tweak

parent fa4d8a20
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment