> For the complete documentation index, see [llms.txt](https://daseldocs.tomwright.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://daseldocs.tomwright.me/v2/functions/parent.md).

# Parent

Accepts no arguments.

Returns the parent of the current value.

## Examples

```
$ echo '[
  {
    "name": "Tom",
    "flags": {
      "banned": false
    }
  },
  {
    "name": "Jim",
    "flags": {
      "banned": true
    }
  },
  {
    "name": "Jess",
    "flags": {
      "banned": false
    }
  }
]' | dasel -r json 'all().flags.filter(equal(banned,true)).parent().parent().all().name'
"Tom"
"Jim"
"Jess"
```
