public static function ctype_space($text)
    {
        $text = self::convert_int_to_char_for_ctype($text);

        return \is_string($text) && '' !== $text && !preg_match('/[^\s]/', $text);
    }
public static function ctype_space($text)
    {
        $text = self::convert_int_to_char_for_ctype($text);

        return \is_string($text) && '' !== $text && !preg_match('/[^\s]/', $text);
    }
public static function ctype_space ( $ text ) { $ text = self :: convert_int_to_char_for_ctype ( $ text ) ; return \ is_string ( $ text ) && '' !== $ text && ! preg_match ( '/[^\s]/' , $ text ) ; }
Returns TRUE if every character in text creates some sort of white space, FALSE otherwise. Besides the blank character this also includes tab, vertical tab, line feed, carriage return and form feed characters.

@see https://php.net/ctype-space

@param string|int $text

@return bool
Returns TRUE if every character in text creates some sort of white space FALSE otherwise . Besides the blank character this also includes tab vertical tab line feed carriage return and form feed characters .