Skip to main content
Module

x/rambda/source/isType.js

Faster and smaller alternative to Ramda
Go to Latest
File
import {type} from './type'
export function isType(xType, x) { if (arguments.length === 1) { return xHolder => isType(xType, xHolder) }
return type(x) === xType}