IsTrue

Check if a given value is true. Will return 'no' otherwise

javascript · Common Scripts

Details

IDIsTrue
Languagejavascript
From Version5.0.0
TagsUtility Condition

README

Checks if a given value is true. Will return “no” otherwise.

Script Data


Name Description
Script Type javascript
Tags Utility, Condition

Inputs


Argument Name Description
value The value to check if it exists. This can handle arrays as well.

Outputs


Path Description Type
True Whether the value is “True” (either it has an object or string True/true). Unknown
False Whether the value is “False” (either it has an object or string True/true). Unknown
commonfields:
  id: IsTrue
  version: -1
name: IsTrue
script: ''
type: javascript
tags:
- Utility
- Condition
comment: Check if a given value is true. Will return 'no' otherwise
system: true
enabled: true
args:
- name: value
  default: true
  description: The value to check if exists - can handle arrays as well
  isArray: true
outputs:
- contextPath: yes
  description: if value is True (either has object or string True/true)
- contextPath: no
  description: if  value is not True (either has object or string True/true)
scripttarget: 0
fromversion: 5.0.0