Function strWrapInBraces

  • Wraps a given string in braces.

    Parameters

    • input: string

      The string to be wrapped in braces.

    Returns string

    Example

    strWrapInBraces('hello');
    //=> "{hello}"

Generated using TypeDoc