(input: unknown)
| 1354 | * @since 2.0.0 |
| 1355 | */ |
| 1356 | export function isPromiseLike(input: unknown): input is PromiseLike<unknown> { |
| 1357 | return hasProperty(input, "then") && isFunction(input.then) |
| 1358 | } |
| 1359 | |
| 1360 | /** |
| 1361 | * Checks whether a value is a `RegExp`. |
nothing calls this directly
no test coverage detected