tractorcow/yesnt

提供非-yes 布尔逻辑增强

dev-master 2018-10-03 20:30 UTC

This package is auto-updated.

Last update: 2024-08-29 05:00:15 UTC


README

Build Status

提供非-yes 布尔逻辑增强

注意:notnt 支持目前不支持

安装

composer require tractorcow/yesnt

使用

<?php

use function TractorCow\Yesnt\yesnt;

require 'vendor/autoload.php';

if (yesnt()) {
    echo "um, why are you here?";
} else {
    echo "yes, but not";
}