pQuery\TokenizerBase::getWhitespace PHP Method

getWhitespace() public method

Returns whitespace characters as string/array
See also: setWhitespace()
public getWhitespace ( boolean $as_string = true ) : string | array
$as_string boolean Should the result be a string or an array?
return string | array
    function getWhitespace($as_string = true)
    {
        $ws = array_keys($this->whitespace);
        return $as_string ? implode('', $ws) : $ws;
    }