mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-25 16:11:24 +08:00
Update pathSatisfies comment description
This commit is contained in:
2
types/ramda/index.d.ts
vendored
2
types/ramda/index.d.ts
vendored
@@ -1161,7 +1161,7 @@ declare namespace R {
|
||||
pathOr<T>(d: T): CurriedFunction2<Path, any, T | any>;
|
||||
|
||||
/**
|
||||
* Returns true if the specified object property satisfies the given predicate; false otherwise.
|
||||
* Returns true if the specified object property at given path satisfies the given predicate; false otherwise.
|
||||
*/
|
||||
pathSatisfies<T, U>(pred: (val: T) => boolean, path: Path, obj: U): boolean;
|
||||
pathSatisfies<T, U>(pred: (val: T) => boolean, path: Path): (obj: U) => boolean;
|
||||
|
||||
Reference in New Issue
Block a user