Member.getAttributes

Returns an array of attributes of the given type that are attched to this element. If no such attributes exist, an empty array is returned.

  1. const(Attribute)[] getAttributes()
  2. const(Attribute)[] getAttributes(Type attributeType)
    interface Member
    final const
    const(Attribute)[]
    getAttributes
  3. const(Attribute)[] getAttributes(TypeInfo attributeTypeInfo)
  4. const(Attribute)[] getAttributes()

Parameters

attributeType Type

The type of attribute to filter by.

Return Value

Type: const(Attribute)[]

An array of attributes.

Meta