Say I have a variable $foo. I'd like to use $foo castable as element(), but I can't use a node type after castable.
$foo
$foo castable as element()
$foo instance of element() does the trick.
$foo instance of element()