# Operators

## Contains

Determines whether the String ValueA contains the String ValueB.

#### Syntax <a href="#pragma-line-6040" id="pragma-line-6040"></a>

```
Contains ( ValueA , ValueB )
```

#### Parameters <a href="#pragma-line-6046" id="pragma-line-6046"></a>

***ValueA***\
&#x20;The String examined.\
&#x20;Type: String

***ValueB***\
&#x20;The pattern which is used to examine.\
&#x20;Type: String

#### Return Type <a href="#pragma-line-6057" id="pragma-line-6057"></a>

Boolean

## EndsWith

Determines whether String ValueA ends with String ValueB.

#### Syntax <a href="#pragma-line-6066" id="pragma-line-6066"></a>

```
EndsWith ( ValueA , ValueB )
```

#### Parameters <a href="#pragma-line-6072" id="pragma-line-6072"></a>

***ValueA***\
&#x20;String which is matched against.\
&#x20;Type: String

***ValueB***\
&#x20;Pattern which is matched with.\
&#x20;Type: String

#### Return Type <a href="#pragma-line-6083" id="pragma-line-6083"></a>

Boolean

## EqualsTo

Takes two values ValueA and ValueB as input, compares them for equality and returns a Boolean.

#### Syntax <a href="#pragma-line-6092" id="pragma-line-6092"></a>

```
EqualsTo ( ValueA , ValueB )
```

#### Parameters <a href="#pragma-line-6098" id="pragma-line-6098"></a>

***ValueA***\
&#x20;First part of the equation.\
&#x20;Type: Any

***ValueB***\
&#x20;Second part of the equation.\
&#x20;Type: Any

#### Return Type <a href="#pragma-line-6109" id="pragma-line-6109"></a>

Boolean

## IsBigger

Takes ValueA and ValueB as input and determines whether ValueA is bigger than ValueB.

#### Syntax <a href="#pragma-line-6118" id="pragma-line-6118"></a>

```
IsBigger ( ValueA , ValueB )
```

#### Parameters <a href="#pragma-line-6124" id="pragma-line-6124"></a>

***ValueA***\
&#x20;First part of the comparison.\
&#x20;Type: Any

***ValueB***\
&#x20;Second part of the comparison.\
&#x20;Type: Any

#### Return Type <a href="#pragma-line-6135" id="pragma-line-6135"></a>

Boolean

## IsBiggerEqualsTo

Takes ValueA and ValueB as input and determines whether ValueA is bigger than or equal to ValueB.

#### Syntax <a href="#pragma-line-6144" id="pragma-line-6144"></a>

```
IsBiggerEqualsTo ( ValueA , ValueB )
```

#### Parameters <a href="#pragma-line-6150" id="pragma-line-6150"></a>

***ValueA***\
&#x20;First part of the comparison.\
&#x20;Type: Any

***ValueB***\
&#x20;Second part of the comparison.\
&#x20;Type: Any

#### Return Type <a href="#pragma-line-6161" id="pragma-line-6161"></a>

Boolean

## IsEmpty

Determines whether the given Value it is empty or not.

#### Syntax <a href="#pragma-line-6170" id="pragma-line-6170"></a>

```
IsEmpty ( Value )
```

#### Parameters <a href="#pragma-line-6176" id="pragma-line-6176"></a>

***Value***\
&#x20;Value which will be evaluated.\
&#x20;Type: String

#### Return Type <a href="#pragma-line-6183" id="pragma-line-6183"></a>

Boolean

## IsInList

Determines whether the given Value is in the given List.

#### Syntax <a href="#pragma-line-6192" id="pragma-line-6192"></a>

```
IsInList ( List , Value )
```

#### Parameters <a href="#pragma-line-6198" id="pragma-line-6198"></a>

***List***\
&#x20;The List to check.\
&#x20;Type: List\<Any>

***Value***\
&#x20;The Value to check for.\
&#x20;Type: Any

#### Return Type <a href="#pragma-line-6209" id="pragma-line-6209"></a>

Boolean

## IsMatch

Determines whether a certain pattern is found in a String. The pattern can be defined using regular expressions.

#### Syntax <a href="#pragma-line-6218" id="pragma-line-6218"></a>

```
IsMatch ( Value , Pattern )
```

#### Parameters <a href="#pragma-line-6224" id="pragma-line-6224"></a>

***Value***\
&#x20;String which will be evaluated.\
&#x20;Type: String

***Pattern***\
&#x20;Regular Expression which will be used for evaluation.\
&#x20;Type: String

#### Return Type <a href="#pragma-line-6235" id="pragma-line-6235"></a>

Boolean

## IsNull

Determines whether the given Value is null.

#### Syntax <a href="#pragma-line-6244" id="pragma-line-6244"></a>

```
IsNull ( Value )
```

#### Parameters <a href="#pragma-line-6250" id="pragma-line-6250"></a>

***Value***\
&#x20;Value which will be evaluated.\
&#x20;Type: Any

#### Return Type <a href="#pragma-line-6257" id="pragma-line-6257"></a>

Boolean

## IsNullOrEmpty

Determines whether the given Value is null or empty.

#### Syntax <a href="#pragma-line-6266" id="pragma-line-6266"></a>

```
IsNullOrEmpty ( Value )
```

#### Parameters <a href="#pragma-line-6272" id="pragma-line-6272"></a>

***Value***\
&#x20;Value which will be evaluated.\
&#x20;Type: String

#### Return Type <a href="#pragma-line-6279" id="pragma-line-6279"></a>

Boolean

## IsNullOrWhiteSpace

Determines whether the given Value is null or consists only of white space.

#### Syntax <a href="#pragma-line-6288" id="pragma-line-6288"></a>

```
IsNullOrWhiteSpace ( Value )
```

#### Parameters <a href="#pragma-line-6294" id="pragma-line-6294"></a>

***Value***\
&#x20;Value which will be evaluated.\
&#x20;Type: String

#### Return Type <a href="#pragma-line-6301" id="pragma-line-6301"></a>

Boolean

## IsSmaller

Takes ValueA and ValueB as input and determines whether ValueA is smaller than ValueB.

#### Syntax <a href="#pragma-line-6310" id="pragma-line-6310"></a>

```
IsSmaller ( ValueA , ValueB )
```

#### Parameters <a href="#pragma-line-6316" id="pragma-line-6316"></a>

***ValueA***\
&#x20;First part of the comparison.\
&#x20;Type: Any

***ValueB***\
&#x20;Second part of the comparison.\
&#x20;Type: Any

#### Return Type <a href="#pragma-line-6327" id="pragma-line-6327"></a>

Boolean

## IsSmallerEqualsTo

Takes ValueA and ValueB as input and determines whether ValueA is smaller than or equal to ValueB.

#### Syntax <a href="#pragma-line-6336" id="pragma-line-6336"></a>

```
IsSmallerEqualsTo ( ValueA , ValueB )
```

#### Parameters <a href="#pragma-line-6342" id="pragma-line-6342"></a>

***ValueA***\
&#x20;First part of the comparison.\
&#x20;Type: Any

***ValueB***\
&#x20;Second part of the comparison.\
&#x20;Type: Any

#### Return Type <a href="#pragma-line-6353" id="pragma-line-6353"></a>

Boolean

## StartsWith

Determines whether String valueA starts with String ValueB.

#### Syntax <a href="#pragma-line-6362" id="pragma-line-6362"></a>

```
StartsWith ( ValueA , ValueB )
```

#### Parameters <a href="#pragma-line-6368" id="pragma-line-6368"></a>

***ValueA***\
&#x20;String which is matched against.\
&#x20;Type: Any

***ValueB***\
&#x20;Pattern which is matched with.\
&#x20;Type: Any

#### Return Type <a href="#pragma-line-6379" id="pragma-line-6379"></a>

Boolean


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tivity.one/building-an-application/execution/scripting/functions/operators.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
