x/rambda/source/isPromise.js
123456import {type} from './type'export function isPromise(x) { return ['Async', 'Promise'].includes(type(x))}