Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/mozilla/add-ons/webextensions/api/downloads/booleandelta/index.md
6581 views
---
title: downloads.BooleanDelta slug: Mozilla/Add-ons/WebExtensions/API/downloads/BooleanDelta page-type: webextension-api-type tags: - API - Add-ons - BooleanDelta - Extensions - Non-standard - Reference - Type - WebExtensions - downloads browser-compat: webextensions.api.downloads.BooleanDelta
---

{{AddonSidebar()}}

The BooleanDelta type of the {{WebExtAPIRef("downloads")}} API represents the difference between two booleans.

Type

Values of this type are objects. They contain the following properties:

  • current {{optional_inline}}

    • : A boolean representing the current boolean value.

  • previous {{optional_inline}}

    • : A boolean representing the previous boolean value.

Browser compatibility

{{Compat}}

{{WebExtExamples}}

Note: This API is based on Chromium's chrome.downloads API.