Bitfocus AS
logo
logo
Bitfocus AS
logo
logo
Sign upSign in

Loading...

Bitfocus

Subscribe to our newsletter

The latest news, articles, and resources, sent to your inbox.

FacebookInstagramGitHubYouTubeLinkedIn

Products

  • Buttons
  • Companion

Integrations

  • Supported Devices
  • Developer Community
  • Connection Development

Support

  • Support Overview
  • Documentation
  • Video Tutorials
  • Community Forum

Sales

  • Resellers & Integrators
  • Buttons Pricing

Updates

  • Case Studies
  • Events & Trade Shows
  • Press Releases
  • Product Updates
  • Webinars

Legal

  • Legal Overview
  • Privacy Policy
  • Buttons EULA
  • Terms & Cookie Policy

Company

  • About us
  • Press kit
  • Careers

© 2026 Bitfocus AS. All rights reserved.

Operators
Docs for
Buttons overview
Adding a License
Offline License
Debian/Ubuntu-headless build of Bitfocus Buttons
Position
Basic Section
Shift Section
Folder Section
Popover Section
Router Section v1.4.x
Router Section v1.6.x
Shared Section
Button
Presets
Internal Actions
Connect
Connection
NMOS
Surface
Workflow
Workflow Examples
Workflow node reference
Cuelist
Tags
Routing
Auth
SSO
Settings
Certificate
Network ports reference
Variables
Functions Reference
Functions
Operators

Loading...

Previous
← Functions
Contact support →
Buttons/Reference/Operators

Operators

In the examples a and b can be replaced with custom variables, module variables or number literals. They are only used here for brevity.
Supported operators include:

Ternary operator:#

  • Conditional ternary: a ? b : c

Binary operators:#

  • Addition: a + b
  • Subtraction: a - b
  • Multiplication: a * b
  • Division: a / b
  • Exponentiation ("Raise to a Power"): a ** b
  • Modulus: a % b
  • Equality (loose): a == b
  • Equality (strict): a === b
  • Inequality (loose): a != b
  • Inequality (strict): a !== b
  • Greater than: a > b
  • Greater than or equal: a >= b
  • Less than: a < b
  • Less than or equal: a <= b
  • Logical OR: a || b
  • Logical AND: a && b
  • Right shift: a >> b
  • Left shift: a << b
  • Bitwise XOR: a ^ b
  • Bitwise AND: a & b
  • Bitwise OR: a | b

Unary operators:#

  • Unary Negation: -a
  • Convert to number: +a
  • Logical NOT: !a
  • Bitwise NOT: ~a

Expression grouping:#

  • Parenthesis: (a + b) * c

Objects:#

  • Define an object: { a: 1 }
  • Define an array: [1, 2]
  • Object/array lookup: $(my:var)['some-prop']

Assignment of temporary variables:#

  • Assignment: a = 1
  • Addition assignment: a += 1
  • Subtraction assignment: a -= 1
  • Multiplication assignment: a *= 1
  • Division assignment: a /= 1
  • Modulus assignment: a %= 1
  • Increment: a++ or ++a
  • Decrement: a-- or --a
  • Logical OR assignment: a ||= 1
  • Logical AND assignment: a &&= 1
  • Left shift assignment: a <<= 1
  • Right shift assignment: a >>= 1
  • Bitwise XOR assignment: a ^= 1
  • Bitwise AND assignment: a &= 1
  • Bitwise OR assignment: a |= 1
  • Exponent assignment: a **= 2

Was this helpful?

Was this helpful?

0 of 0 users found this page helpful