Function strWrapIn

  • Wraps a given string with another string.

    Parameters

    • input: string

      The string to be wrapped.

    • wrap: string

      The string to wrap around the input.

    Returns string

    Example

    strWrapIn('hello', '*');;
    //=> '*hello*'

Generated using TypeDoc