isProtocol(_:)

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

SyntaxTraits.swift:551
func isProtocol(_: WithModifiersSyntax.Protocol) -> Bool