UNPKG

crocks

Version:

A collection of well known Algebraic Datatypes for your utter enjoyment.

14 lines (9 loc) 277 B
/** @license ISC License (c) copyright 2017 original and current authors */ /** @author Ian Hofmann-Hicks (evil) */ var hasAlg = require('../core/hasAlg') // isSetoid : a -> Boolean function isSetoid(m) { return !!m && hasAlg('equals', m) } module.exports = isSetoid