namedItem method
Returns an object by its id or name from an array.
![]() |
Syntax
object.namedItem(name, object)Parameters
- name [in]
-
Type: String
Return value
Type: any
Object or collection of type plugin if exists, null otherwise.
Remarks
This method first searches for an object with a matching id attribute. If a match isn't found, the method searches for an object with a matching name attribute.
See also
Show:
