Bitmask.Equality

Operator in Bitmask

Declaration

public static bool operator ==(Bitmask lhs, Bitmask rhs)

Description

Determines if two bitmasks are equal.

Parameters

lhsThe first bitmask to compare.
rhsThe second bitmask to compare.

Returns

boolTrue if the bitmasks are equal, false otherwise.

Overload

Declaration

public static bool operator ==(Bitmask lhs, int rhs)

Description

Determines if two bitmasks are equal.

Parameters

lhsThe first bitmask to compare.
rhsThe second bitmask to compare.

Returns

boolTrue if the bitmasks are equal, false otherwise.

Overload

Declaration

public static bool operator ==(int lhs, Bitmask rhs)

Description

Determines if two bitmasks are equal.

Parameters

lhsThe first bitmask to compare.
rhsThe second bitmask to compare.

Returns

boolTrue if the bitmasks are equal, false otherwise.