Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator ==

The equals operator.
Read time 1 minuteLast updated 5 days ago

Definition

operator ==(StringView, StringView)

The equals operator.
public static bool operator ==(StringView lhs, StringView rhs)

Parameters

Returns

Type

Description

bool

operator ==(StringView, string)

The equals operator.
public static bool operator ==(StringView lhs, string rhs)

Parameters

Returns

Type

Description

bool

operator ==(string, StringView)

The equals operator.
public static bool operator ==(string lhs, StringView rhs)

Parameters

Returns

Type

Description

bool