Skip to main content

Function: getStaticPropertyName()

function getStaticPropertyName(
property: Readonly<Property>
): string | undefined;

Defined in: _internal/remark-config-object.ts:31

Get a non-computed object property key as a static string.

Parametersโ€‹

propertyโ€‹

Readonly<Property>

Candidate object property.

Returnsโ€‹

string | undefined

Property name when it can be read without evaluating code.