isProtocol(_:)

Check whether the non-type erased version of this syntax node conforms to NamedDeclSyntax. Note that this will incur an existential conversion.

SyntaxTraits.swift:306
func isProtocol(_: NamedDeclSyntax.Protocol) -> Bool