function _negate($function) { return Underscore::negate($function); }
/** * @tags functions */ public function testNegate() { $fn = _::negate(function () { return true; }); $this->boolean($fn())->isFalse(); $fn = _::negate($fn); $this->boolean($fn())->isTrue(); }