1、首先你需要在你的项目中引入hutool的jar包
3、Boolean negate = BooleanUtil.isFalse(b);//判断是否为false
5、将布尔类型的值变为null查看得到的结果