Panther Search Documentation Tutorials Devlogs Downloads Source Code

Documentation > Panther Documentation > Intrinsics > @getTypeID

@getTypeID

Panther
Documentation


Note

Information on this page may be incorrect / out-of-date. An updated version of the site (powered by Panther!) is coming soon, which will include all fixes.

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