• Check if a value is a string (including a String object)

    Parameters

    • str: any

      Value to check

    Returns str is string