Skip to main content

Function: getObjectPropertyName()

function getObjectPropertyName(property: Readonly<Property>): string | null;

Defined in: _internal/docusaurus-config-ast.ts:354

Resolve the non-computed property name when statically known.

Parametersโ€‹

propertyโ€‹

Readonly<Property>

Candidate object property.

Returnsโ€‹

string | null

Static property name when available; otherwise null.