ContainsCreditCardInfo

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

javascript · Common Scripts

Details

IDContainsCreditCardInfo
Languagejavascript
From Version5.0.0
TagsUtility Condition

README

Checks if a given value is true. If not a “no” will be returned.

Script Data


Name Description
Script Type javascript
Tags Utility, Condition

Inputs


Argument Name Description
data The data to check for credit card info in (type string).

Outputs


Path Description Type
yes Whether the value is true (either has object or string True). Unknown
no Whether the value is not true (either has object or string True). Unknown
commonfields:
  id: ContainsCreditCardInfo
  version: -1
name: ContainsCreditCardInfo
script: ''
type: javascript
tags:
- Utility
- Condition
comment: Check if a given value is true. Will return 'no' otherwise
enabled: true
args:
- name: data
  required: true
  default: true
  description: The data to check for credit card info in, type string
  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
tests:
- No tests