# CheckStep

`type` in `plugin-tasks` · v0.1.0-next.1

<https://seedcord.org/docs/packages/plugin-tasks/0.1.0-next.1/types/check-step>

## Declaration

```ts
type CheckStep<
    TField extends Field,
    Text extends string,
    Item extends string
> =
    InRange<ToNumber<Text>, 1, TField["steps"]> extends true
        ? true
        : Fail<
              TField,
              Item,
              `has a step outside 1-${TField["steps"]}`
          >;
```
