Table of Contents

TCodeUnit.FindAlias Method

Searches for a type alias by name.

Syntax

Unit: Bcl.Code.MetaClasses

function TCodeUnit.FindAlias(const AName: string): TCodeTypeAliasDeclaration;

Parameters

<-> Parameter Type Description
const AName string The alias name to find (case-insensitive).

Returns

The matching TCodeTypeAliasDeclaration, or nil if not found.

See also