Returns a vector containing all predecessors of the specified element (starting from the immediate one
provided by element.predecessor
property) that match the specified Element Types.
GOMElement.predecessors
property and the functions: iterate(), instanceOf(), Vector()
.
Parameters:
element
If not specified, the generator context element is assumed, which is the same as the call:
getPredecessorsByType (
contextElement,
elementTypeSpec
)
GOMContext.contextElement
Note: When this parameter is null
, the function returns an empty vector.
elementTypeSpec