mirror of
https://github.com/noodlapp/noodl-docs.git
synced 2026-01-11 14:52:54 +01:00
fix: SEO-1 (#29)
This commit is contained in:
38
nodes/logic/inverter/README.md
Normal file
38
nodes/logic/inverter/README.md
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
hide_title: true
|
||||
hide_table_of_contents: true
|
||||
title: Inverter
|
||||
---
|
||||
|
||||
<##head##>
|
||||
|
||||
# Inverter
|
||||
|
||||
This node changes <span className="ndl-data">true</span> values to be <span className="ndl-data">false</span>, and <span className="ndl-data">false</span> values to be <span className="ndl-data">true</span>. It is identical to a logic NOT operation.
|
||||
|
||||
<div className="ndl-image-with-background l">
|
||||
|
||||

|
||||
|
||||
</div>
|
||||
|
||||
The <span className="ndl-node">Inverter</span> node runs JavaScript in the background and interprets truthy and falsy values in the same fashion. It is equal to creating an <span className="ndl-node">Expression</span> node with the expression `!value`.
|
||||
|
||||
<##head##>
|
||||
|
||||
## Inputs
|
||||
|
||||
| Data | Description |
|
||||
| --------------------------------------- | -------------------- |
|
||||
| <span className="ndl-data">Value</span> | The value to invert. |
|
||||
|
||||
## Outputs
|
||||
|
||||
| Data | Description |
|
||||
| ---------------------------------------- | ------------------------------------------------------------------------------------ |
|
||||
| <span className="ndl-data">Result</span> | The result of inverting the input _Value_. This is equal to either _True_ or _False_ |
|
||||
|
||||
## Advanced
|
||||
|
||||
The inverter is equal to creating the following expression:
|
||||
`!value` .
|
||||
Reference in New Issue
Block a user