Skip to main content
Module

x/rambda/isPromise.js

Faster and smaller alternative to Ramda
Go to Latest
File
import { type } from './type'
export function isPromise(x){ return [ 'Async', 'Promise' ].includes(type(x))}