📅  最后修改于: 2022-03-11 14:54:06.100000             🧑  作者: Mango
The is_bool() function checks whether a variable is a boolean or not. This function returns true (1) if the variable is a boolean, otherwise it returns false/nothing.