UNPKG

crocks

Version:

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

15 lines (10 loc) 261 B
/** @license ISC License (c) copyright 2016 original and current authors */ /** @author Ian Hofmann-Hicks (evil) */ var isNil = require('../core/isNil') function valueOf(m) { if(isNil(m)) { return m } return m.valueOf() } module.exports = valueOf