1// an object is a promise if it has a `.then` function
2// https://github.com/then/is-promise/blob/master/index.js
3export const isPromise = obj =>
5 (typeof obj === 'object' || typeof obj === 'function') &&
6 typeof obj.then === 'function';
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list