Function: findObjectPropertyByName()
findObjectPropertyByName(
objectExpression:Readonly<TSESTree.ObjectExpression>,propertyName:string):Property|null
Defined in: _internal/docusaurus-config-ast.ts:352
Find a named property on an object expression.
Parametersโ
objectExpressionโ
Readonly<TSESTree.ObjectExpression>
Object expression to inspect.
propertyNameโ
string
Expected property name.
Returnsโ
Property | null
Matching property when present; otherwise null.