Skip to content

Function: isPascalCase()

Source: NameCase.ts

Import

ts
import { isPascalCase } from '@litert/utils-string';

Signature

ts
const isPascalCase: typeof isUpperCamelCase;

Description

Alias for isUpperCamelCase(). PascalCase and UpperCamelCase refer to the same naming convention.

Returns true if the input starts with an uppercase letter and contains only letters and digits.