> For the complete documentation index, see [llms.txt](https://documentation.astera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.astera.com/functions/logical/isinteger-anyvalue.md).

# IsInteger (AnyValue)

| **Name**    | ***IsInteger (Any Value)***                                                 |
| ----------- | --------------------------------------------------------------------------- |
| Syntax      | IsInteger (Any value)                                                       |
| Purpose     | To check whether a given value represents an integer.                       |
| Description | Returns true if the specified value is an integer. Otherwise returns false. |
| Return Type | Boolean                                                                     |
| Parameters  | Value \[System.Object] – Value to be checked                                |

<figure><img src="https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/l1y20k8VQbiuG8OJB8aV/0.png" alt=""><figcaption></figcaption></figure>

**Example**

In this example, we will first pass an integer value and then a non-integer value to the function transformation object using a *Variables* object, to see the different outputs

Where first,

*value* = 12345678

then,

*value* = ABCDEFG

<figure><img src="https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/xyRW3j0psywNTPWjDimn/1.png" alt=""><figcaption></figcaption></figure>

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/Ee5LzH919niVhqyzRdzv/2.png)

In the output windows, you can see that Boolean values, True and False, have been returned, depending on whether the provided value was an integer or a non-integer value.

<figure><img src="https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/BHyNMjb1JJZVbl80TtpR/3.png" alt=""><figcaption></figcaption></figure>

![](https://content.gitbook.com/content/zEifS4h8yurLAAwiGNX2/blobs/Z9BJ0B8ARpAz7XC3Jfj1/4.png)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.astera.com/functions/logical/isinteger-anyvalue.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
