:orphan: .. _s_11PytoRuntime9SignatureV19positionalOrKeyword_10annotation7defaultACSS_AA8Parsable_pSgAHtF: ``positionalOrKeyword(_:annotation:default:)`` ============================================== Appends a positional-or-keyword parameter to the signature. .. raw:: html .. rubric:: Declaration .. raw:: html
func positionalOrKeyword(
       _ name: String,
       annotation: (
           any Parsable
       )? = nil,
       default: (
           any Parsable
       )? = nil
   ) -> Signature
   
.. rubric:: Parameters - **name**: The name of the parameter. - **annotation**: The annotation of the parameter. - **default**: The default value of the parameter. .. rubric:: Returns A new signature with the positional-or-keyword parameter appended.