Skip to main content

Function: getObjectPropertyName()

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

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

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.