# SpecId.enables

Returns whether `specId` enables the rules of `other`.

## Imports

:::code-group
```ts [Named]
import { SpecId } from 'ox/evm'
```

```ts [Entrypoint]
import * as SpecId from 'ox/evm/SpecId'
```
:::

## Examples

```ts twoslash
import { SpecId } from 'ox/evm'

SpecId.enables('osaka', 'cancun')
// @log: true
```

## Definition

```ts
function enables(
  specId: SpecId,
  other: SpecId,
): boolean
```

**Source:** [src/evm/SpecId.ts](https://github.com/wevm/ox/blob/main/src/evm/SpecId.ts#L49)

## Parameters

### specId

* **Type:** `SpecId`

Specification to test.

### other

* **Type:** `SpecId`

Specification whose rules to test for.

## Return Type

Whether `specId` is at or after `other`.

`boolean`
