Function trimStart

  • Returns the string with all leading whitespace removed.

    Parameters

    • str: string

    Returns string