findCommonAncestor

API / publicodes / utils / findCommonAncestor

function findCommonAncestor(dottedName1, dottedName2): string

Experimental

Finds the common ancestor of two dottedName

Parameters

ParameterType
dottedName1string
dottedName2string

Returns

string

Defined in

packages/core/src/ruleUtils.ts:80