x/rambda/source/isPromise.js
123456import { type } from './type.js'export function isPromise(x){ return type(x) === 'Promise'}