# ❤ Benefits

<details>

<summary>Single value check</summary>

Check single value against one type.

</details>

<details>

<summary>Multiple value check</summary>

Check **every** of multiple values against one type.

Check **some** of the multiple values against one type.

Check **one by one** of the multiple values against one type.

</details>

<details>

<summary>Guard the value type</summary>

Predefined functions to guard the most commonly used types.

</details>

<details>

<summary>Objects consisting of check and guard functions</summary>

Predefined objects that contain name-specific functionalities.

Object `type` that consists of all the guard and check functions.

Object `are`, `is` and `isNot` to check the values.

Object `guard` to guard the values.

</details>

<details>

<summary>Callback</summary>

Each function has a `callback` parameter to handle the check result before it's returned.

The callback function includes a `payload` parameter consisting of properties specific to the core function, and it is extendable by custom properties.

</details>

<details>

<summary>Payload</summary>

Each function has an optional `payload` parameter to assign custom properties to the `payload` of the given callback function.

</details>


---

# 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.angular-package.dev/type/benefits.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.
