udaIndexOf

Returns the index of a given UDA, as annotated on a symbol.

enum udaIndexOf (
alias symbol
T
)

Parameters

symbol

Symbol to introspect.

T

UDA to get the index of.

Return Value

The index of the UDA if found, or -1 if it was not present.

Meta