Function to find busses in the specified Element object. For example,
this.parent specifies the parent of the script module as the Element object to be searched in. If recursive is set to
true, subelements will also be searched. The function returns an array with the Bus objects of the found busses. Particular busses can be searched by name or through a filter function. If searching by name, findBusses accepts only the Bus objects that match the specified name. The filter function uses the Bus object of each bus as argument. Only those Bus objects that return
true for the search criteria defined in the filter function will be accepted by findBusses. Without a name or filter function the Bus objects of all busses in the searched Element obects will be returned.
Available in: Controller, Processor.
|recursive||If set to ||boolean|
|nameOrFilterFunction||The name of the busses searched for or a filter function. Only the Bus objects that match the name or return ||string or function, optional|
Returns an array with the Bus objects of the found busses.