如果条件为 false 则打印警告日志
打印警告日志的条件
警告日志
warning(truthyValue, 'This should not log a warning'); Copy
warning(truthyValue, 'This should not log a warning');
warning(falsyValue, 'This should log a warning'); Copy
warning(falsyValue, 'This should log a warning');
https://github.com/alexreardon/tiny-warning
如果条件为 false 则打印警告日志