# bool Hero::SkillInEffect(int)

[Family: Hero](/imperivm/en/CKS/familias/hero/)

## Exact signature

```text
bool Hero::SkillInEffect(int)
```

## Description

Resolves a Hero and tests whether an indexed skill-effect slot differs from the -1 sentinel.

## Parameters and return type

**Return type:** `bool`

The member is called on an object. Its receiver is not repeated among this signature’s arguments.

| Position | Type |
| --- | --- |
| 1 | `int` |

## Read and share

- [Markdown](/imperivm/exports/en/cks/api-4b1a88432f92e4.md)
- [JSON](/imperivm/CKS/api/entries/api-4b1a88432f92e4?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
