public static function EasyRdf_Parser_Turtle::isWhitespace

Returns true if $c is a whitespace character @ignore

4 calls to EasyRdf_Parser_Turtle::isWhitespace()

File

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Parser/Turtle.php, line 1063

Class

EasyRdf_Parser_Turtle
Class to parse Turtle with no external dependancies.

Code

public static function isWhitespace($c) {

  // Whitespace character are space, tab, newline and carriage return:
  return $c == " " || $c == "\t" || $c == "\r" || $c == "\n";
}