• Checks if the string is equal to the given value

    Example

    equals("hello", "Hello"); // false
    

    Parameters

    • str: string
    • value: unknown

    Returns boolean

Generated using TypeDoc