Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Equals

Checks if the StringView is equal to the object.
Read time 1 minuteLast updated 6 days ago

Definition

Equals(StringView)

Checks if the StringView is equal to the object.
public bool Equals(StringView other)

Parameters

An object.

Returns

Type

Description

boolTrue if they are equal, otherwise false.

Equals(Object)

Checks if the StringView is equal to the object.
public override bool Equals(object other)

Parameters

other

An object.

Returns

Type

Description

boolTrue if they are equal, otherwise false.

Equals(string, StringComparison)

Checks if the StringView is equal to the object.
public bool Equals(string other, StringComparison comparisonOptions = StringComparison.OrdinalIgnoreCase)

Parameters

other

An object.

comparisonOptions

Returns

Type

Description

boolTrue if they are equal, otherwise false.

Equals(StringView, StringComparison)

Checks if the StringView is equal to the object.
public bool Equals(StringView other, StringComparison comparisonOptions)

Parameters

An object.

comparisonOptions

Returns

Type

Description

boolTrue if they are equal, otherwise false.