mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-09 11:40:07 +00:00
[ramda]: Add startsWith definition
This commit is contained in:
6
types/ramda/index.d.ts
vendored
6
types/ramda/index.d.ts
vendored
@@ -1508,6 +1508,12 @@ declare namespace R {
|
||||
splitWhen<T, U>(pred: (val: T) => boolean, list: U[]): U[][];
|
||||
splitWhen<T>(pred: (val: T) => boolean): <U>(list: U[]) => U[][];
|
||||
|
||||
/**
|
||||
* Checks if a list starts with the provided values
|
||||
*/
|
||||
startsWith(a: any, list: any): boolean;
|
||||
startsWith(a: any): (list: any) => boolean;
|
||||
|
||||
/**
|
||||
* Subtracts two numbers. Equivalent to `a - b` but curried.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user