切里莫拉
一个非常有用的东西。
安装
需要使用的库:
$ composer require elfet/cherimola
文献资料
仅包含true和false常量的内容太无聊了。 该库将帮助您克服这种无聊!
现在,您可以使用正布尔常量:
if ( $ status === ok) {
. . .
}
if ( $ everyThing === okay) {
. . .
}
if ( $ userSay === yes) {
. . .
}
if ( $ checkbox === :check_mark:) {
. . .
}
if ( $ solution === correct) {
. . .
}
if ( $ attitude === :thumbs_up:) {
. . .
}
和负布尔常量:
if ( $ isUseful === no) {