beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

IsOne Op



IsOne
Namespace: Ops.Boolean

Op author: pandur

Returns `true` if input value is `1`


Only returns true if the input Value is 1. Returns false in all other cases, e.g. when input value is 0, -1 or 2.



Inputs

Value (Number)

The value to check for if it is one

Outputs

Result (Number)

True when input is 1, false otherwise


Caught a mistake or want to contribute to the documentation?

Edit Documentation 

Patches using IsOne

  • Examples
  • Public
  • My Patches