( input: unknown )
| 866 | * @see isPromise |
| 867 | */ |
| 868 | export const isPromiseLike = ( |
| 869 | input: unknown |
| 870 | ): input is PromiseLike<unknown> => hasProperty(input, "then") && isFunction(input.then) |
| 871 | |
| 872 | /** |
| 873 | * A refinement that checks if a value is a `RegExp`. |