Skip to main content

Function: isPresetConfigName()

function isPresetConfigName(value: string): value is
| "all"
| "config"
| "experimental"
| "minimal"
| "recommended"
| "strict";

Defined in: _internal/preset-config-references.ts:98

Check whether a string is a supported preset key.

Parametersโ€‹

valueโ€‹

string

Returnsโ€‹

value is "all" | "config" | "experimental" | "minimal" | "recommended" | "strict"