/** * @param bool $value * @param int $stackLevel [optional] * @return void * @throws \Exception */ public static function assertValueIsBoolean($value, $stackLevel = 0) { self::validateResult(\Df\Zf\Validate\Boolean::s(), $value, $stackLevel + 1); }
/** * @param bool $v * @return bool */ function df_check_boolean($v) { return \Df\Zf\Validate\Boolean::s()->isValid($v); }