IsValueInArray

Indicates whether a given value is a member of given array

javascript · Common Scripts

Details

IDIsValueInArray
Languagejavascript
From Version5.0.0
TagsCondition

README

Indicates whether a given value is a member of given array.

Script Data


Name Description
Script Type javascript
Tags Condition

Inputs


Argument Name Description
array The array to look for the value.
value The value to look for in the array.

Outputs


Path Description Type
yes The list that contains the value. Unknown
no The list does not contain the value. Unknown
commonfields:
  id: IsValueInArray
  version: -1
name: IsValueInArray
script: ''
type: javascript
tags:
- Condition
comment: Indicates whether a given value is a member of given array
enabled: true
args:
- name: array
  description: Array to look for the value
  isArray: true
- name: value
  description: Value to look for in the array
outputs:
- contextPath: "yes"
  description: The list contains the value
- contextPath: "no"
  description: The list does not contain the value
scripttarget: 0
fromversion: 5.0.0