# CheckField

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

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

## Declaration

```ts
type CheckField<
    TField extends Field,
    Text extends string
> = TField extends Day
    ? Text extends "lw"
        ? true
        : CheckItems<TField, Split<Text, ",">>
    : CheckItems<
          TField,
          Split<
              TField extends Weekday
                  ? Text extends `+${infer Rest}`
                      ? Rest
                      : Text
                  : Text,
              ","
          >
      >;
```
