You are here

public static function SassReturnNode::isa in Sassy 7.3

Returns a value indicating if the token represents this type of node.

Parameters

object token:

Return value

boolean true if the token represents this type of node, false if not

Overrides SassNode::isa

File

phpsass/tree/SassReturnNode.php, line 71

Class

SassReturnNode
SassReturnNode class. Represents a Return. @package PHamlP @subpackage Sass.tree

Code

public static function isa($token) {
  return $token->source[0] === self::NODE_IDENTIFIER;
}