# ValueOf

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

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

## Declaration

```ts
type ValueOf<
    TField extends Field,
    Text extends string
> = Text extends keyof TField["names"]
    ? TField["names"][Text]
    : ToNumber<Text>;
```
