is(_:)

Checks if the current syntax node can be upcast to Syntax node.

SyntaxProtocol.swift:70

This declaration is deprecated: This cast will always succeed

func `is`(_ syntaxType: Syntax.Type) -> Bool

Returns

true since the node can always be upcast to Syntax node.