namedItem

fun namedItem(name: String): Any?(source)

Returns the item with ID or name name from the collection.

If there are multiple matching items, then a RadioNodeList object containing all those elements is returned.

MDN Reference