signatureAsString
Renders this function's signature as a human-readable string. Injected parameters (FunctionParameter.isInjected) are omitted — they aren't part of the surface that callers see and shouldn't clutter the rendered signature.
Return
the rendered signature, e.g. foo(String name, optional Int count), or (String name) when includeName is false.
Parameters
includeName
whether the function name should precede the parameter list. Callers that embed the signature in a sentence typically pass false so the sentence provides its own subject.