Boolean Supplier

Overview

Allows some simple post-processing on boolean values.

Details

Name:

Boolean Supplier

Prefix:

boolean

(optional)

Supported Content:

Booleans

Provided By:

Supported Keys

The following are the list of keys which this supplier will return a value for.

Key

Content Types

Return Type

Description

[true value]/[false value]

Boolean

This key is of the format "true/false", with the text before the '/' returned if the boolean is true and the text after the '/' returned if it is false. Example values:

  • "Yes/No"
  • "Definitely/Impossible"

negate

Boolean

(Since 2.0.0) Returns the negated (or opposite) value of the boolean. e.g.: 'true' will become 'false'.