UNPKG

froebel

Version:
19 lines (12 loc) 453 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.truthy = exports.falsy = void 0; /** Checks if `value` is truthy. Literal types are narrowed accordingly. */ const truthy = value => !!value; /** Checks if `value` is falsy. Literal types are narrowed accordingly. */ exports.truthy = truthy; const falsy = value => !value; exports.falsy = falsy; module.exports = Object.assign(exports.default || {}, exports);