ContextSearchForString

Searches for string in a path in context. If path is null, string will be searched in full context.

javascript · Common Scripts

Details

IDContextSearchForString
Languagejavascript
From Version5.0.0

README

Searches for a string in a path in context. If path is null, the string will be searched in full context.

Script Data


Name Description
Script Type javascript
Tags  

Inputs


Argument Name Description
path The path in context to search the string in.
str The string to search for in context.

Outputs


Path Description Type
True Whether the given string exists in context. Unknown
False Whether the given string does not exist in context. Unknown
commonfields:
  id: ContextSearchForString
  version: -1
name: ContextSearchForString
script: ''
type: javascript
tags: []
comment: |
  Searches for string in a path in context. If path is null, string will be searched in full context.
enabled: true
args:
- name: path
  description: Path in context to search the string in
- name: str
  required: true
  description: String to search for in context
outputs:
- contextPath: true
  description: if given string exists in context
- contextPath: false
  description: if given string does not exist in context
scripttarget: 0
fromversion: 5.0.0
tests:
- No tests