Skip to content

NamePolicy

for(element: TElements | undefined) => NamePolicyGetterGet a function that takes a name and applies the naming policy to it. When element is undefined, returns an identity function.
getName(originalName: string, element: TElements | undefined) => stringApply the language policy to the provided name for the provided element type. When element is undefined, returns originalName unchanged.