tractorcow / yesnt
Provides non-yes boolean logic augmentation
dev-master
2018-10-03 20:30 UTC
Requires
- php: >=7.1
Requires (Dev)
- php-coveralls/php-coveralls: ^2.1
- phpunit/phpunit: ^7.3
This package is auto-updated.
Last update: 2024-06-29 04:27:21 UTC
README
Yesnt
Provides non-yes boolean logic augmentation
Note: notnt support not currently supported
installation
composer require tractorcow/yesnt
usage
<?php use function TractorCow\Yesnt\yesnt; require 'vendor/autoload.php'; if (yesnt()) { echo "um, why are you here?"; } else { echo "yes, but not"; }