Scout Chart Creator
  • Overview
  • Get Started
    • Tutorial 1: NMR Daily Transaction Count
    • Tutorial 2: LPT Weekly Volume (USD)
    • Tutorial 3: NMR vs LPT Daily comparison
  • Pipeline
    • Filter
    • Project
    • Group
      • Accumulators
    • Sort
    • Unwind
    • Custom
  • Data Source
    • Transactions
    • States
    • Contracts
    • Aragon
    • Livepeer
    • dYdX
    • Set
    • Token holders
  • Operators
    • Math operators
    • Logic operators
    • Function operators
    • Array operators
    • String operators
  • Config
  • Protocols
    • Dodo
      • 24H trade volume
      • Deposit & Withdraw
    • Livepeer
    • dYdX
      • Making sense of the trade data
    • MakerDao
    • Pickle Finance
      • Example: Daily deposit and withdraw of jar 0.88
      • Example: Listing all borrows of a strategy
  • FAQ
    • Dealing with "logs" field in "Transaction"
    • How to handle "Query Timeout" error?
    • How to use a variable in a Pipeline
  • Research
    • The circulating supply of DODO tokens
    • How are bitcoins doing on Ethereum? (as of Jan 20th 2021)
Powered by GitBook
On this page

Was this helpful?

  1. Operators

Logic operators

and(boolean0, boolean1, ...) Returns true if all the arguments are true. Otherwise, returns false. Each argument must be boolean.

or(boolean0, boolean1, ...) Returns true if any of the arguments is true. Otherwise, returns false. Each argument must be boolean.

eq(argument0, argument1, ...) Returns true if all the arguments are equal. Otherwise, returns false. The arguments can be string, numeric or boolean.

gt(number0, number1) Returns true if number0 is greater than number1. Both arguments must be numeric.

gte(number0, number1) Returns true if number0 is greater than or equal to number1. Both arguments must be numeric.

lt(number0, number1) Returns true if number0 is less than number1. Both arguments must be numeric.

lte(number0, number1) Returns true if number0 is less than or equal to number1. Both arguments must be numeric.

ifNull(value, replacement) Returns replacement if value is null. Otherwise, returns value.

in(element, array) Returns true if array (must be an array) contains element. Otherwise, returns false.

ne(argument0, argument1) Returns true if both arguments are not equal. Otherwise, returns false.

not(boolean) Inverts the effect of the argument. The argument must be boolean.

PreviousMath operatorsNextFunction operators

Last updated 4 years ago

Was this helpful?