# Equals

> Returns whether two values are equal.

## Definition

* **Type:** Method
* **Namespace:** [Unity.IntegerTime](/engine/6000.7/script-reference/unity/integertime.md)
* **Assembly:** UnityEngine.CoreModule

## Equals(TicksPerSecond)

Returns whether two values are equal.

```csharp
public readonly bool Equals(RationalTime.TicksPerSecond rhs)
```

### Parameters

**** (\[TicksPerSecond]\(/engine/6000.7/script-reference/unity/integertime/rationaltime/tickspersecond)):&#x20;

### Returns

| Type                                                          | Description                                         |
| ------------------------------------------------------------- | --------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the 2 values are equal and false otherwise. |

## Equals(Object)

Returns whether two values are equal.

```csharp
public override readonly bool Equals(object rhs)
```

### Parameters

**** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)):&#x20;

### Returns

| Type                                                          | Description                                         |
| ------------------------------------------------------------- | --------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the 2 values are equal and false otherwise. |
