---
title: bookmarks.BookmarkTreeNodeType
slug: Mozilla/Add-ons/WebExtensions/API/bookmarks/BookmarkTreeNodeType
tags:
  - API
  - Add-ons
  - BookmarkTreeNodeType
  - Bookmarks
  - Extensions
  - Property
  - Reference
  - WebExtensions
browser-compat: webextensions.api.bookmarks.BookmarkTreeNodeType
---
{{AddonSidebar()}}

The **`bookmarks.BookmarkTreeNodeType`** type is used to describe whether a node in the bookmark tree is a bookmark, a folder, or a separator.

## Type

`bookmarks.BookmarkTreeNodeType` is a {{jsxref("string")}} which can have one of the following three values:

- `"bookmark"`: the node is a bookmark.
- `"folder"`: the node is a folder.
- `"separator"`: the node is a separator.

## Browser compatibility

{{Compat}}

{{WebExtExamples}}
