getRelationshipClass Method

Shortcut for calling getItem with RelationshipClass.

getRelationshipClass(name: string): Promise<RelationshipClass | undefined>

@returns The requested RelationshipClass or undefined if not found.

Parameter Type Description
name string The local (unqualified) name of the item to return.

Returns - Promise<RelationshipClass | undefined>

The requested RelationshipClass or undefined if not found.

Defined in

Last Updated: 28 April, 2026