Skip to main content

Function: matchesGithubActionsCasing()

function matchesGithubActionsCasing(
value: string,
casingKind:
| "camelCase"
| "kebab-case"
| "PascalCase"
| "SCREAMING_SNAKE_CASE"
| "snake_case"
| "Title Case"
| "Train-Case"
): boolean;

Defined in: _internal/casing.ts:318

Determine whether a value already satisfies a requested casing convention.

Parameters

value

string

casingKind

| "camelCase" | "kebab-case" | "PascalCase" | "SCREAMING_SNAKE_CASE" | "snake_case" | "Title Case" | "Train-Case"

Returns

boolean