dCBOR Pattern TypeScript - v1.0.0-alpha.20
    Preparing search index...

    Function reluctanceSuffix

    • Returns the suffix character for a reluctance type.

      Parameters

      Returns string

      The suffix string ("" for Greedy, "?" for Lazy, "+" for Possessive)

      reluctanceSuffix(Reluctance.Greedy)     // ""
      reluctanceSuffix(Reluctance.Lazy) // "?"
      reluctanceSuffix(Reluctance.Possessive) // "+"