---
title: items
categories: |
filters
version: 0.104.0
filters: |
Given a record, iterate on each pair of column name and associated value.
usage: |
Given a record, iterate on each pair of column name and associated value.
editLink: false
contributors: false
---
<!-- This file is automatically generated. Please edit the command in https://github.com/nushell/nushell instead. -->
# `items` for [filters](/commands/categories/filters.md)
<div class='command-title'>Given a record, iterate on each pair of column name and associated value.</div>
## Signature
```> items {flags} (closure)```
## Parameters
- `closure`: The closure to run.
## Input/output types:
| input | output |
| ------ | ------ |
| record | any |
## Examples
Iterate over each key-value pair of a record
```nu
> { new: york, san: francisco } | items {|key, value| echo $'($key) ($value)' }
╭───┬───────────────╮
│ 0 │ new york │
│ 1 │ san francisco │
╰───┴───────────────╯
```
## Notes
This is a the fusion of `columns`, `values` and `each`.