# Bal.covers

Returns whether a list covers a storage slot.

A read that a list does not cover is refused rather than served from the database, so this answers ahead of time what an execution would refuse.

## Imports

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

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

## Examples

```ts twoslash
// @noErrors
import { Bal } from 'ox/evm'

Bal.covers(bal, { address, slot: 0n })
// @log: true
```

## Definition

```ts
function covers(
  bal: Bal,
  options: covers.Options,
): boolean
```

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

## Parameters

### bal

* **Type:** `Bal`

List to read.

### options

* **Type:** `covers.Options`

Account, and the slot to check within it.

#### options.address

* **Type:** `0x${string}`

Account to look for.

#### options.slot

* **Type:** `bigint`
* **Optional**

Slot to look for within the account. Omit to check the account alone.

## Return Type

Whether the list covers it.

`boolean`
