Panther Search Documentation Tutorials Devlogs Downloads Source Code

Documentation > Panther Documentation > Intrinsics > @getTypeID

@getTypeID

Panther
Documentation


1: func @getTypeID = <{T: Type}> () -> TypeID;

  Get the TypeID of a type.

Template Parameters

  T: The type to get the TypeID of - cannot be Void

Parameters

  None.

Return Value

  The TypeID of type T

Example

(TODO)

See Also

@arrayElementTypeID Get the TypeID of the elements of an array type
@arrayRefElementTypeID Get the TypeID of the elements of an array reference type