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)
  3. const(Attribute)[] getAttributes(TypeInfo attributeTypeInfo)
    interface Member
    final const
    const(Attribute)[]
    getAttributes
  4. const(Attribute)[] getAttributes()

Parameters

attributeTypeInfo TypeInfo

The type of attribute to filter by.

Return Value

Type: const(Attribute)[]

An array of attributes.

Meta