---
title: matchingClass
framework: installer_js
role: pseudoSymbol
path: installer_js/ioregistry/1812186-matchingclass
---

# matchingClass

Returns the IOKit objects of a given class.

## Declaration

```data
matchingClass(className, [servicePlane])
```

## Parameters

- `className`: String with an IOKit class name.
- `servicePlane`: Optional. String with the service plane to search. When unspecified, 'IOServicePlane' is used.

## Return Value

Return Value An array of IOKit object dictionaries.

## See Also

### Accessing the IOKit Registry

- [fromPath](installer_js/ioregistry/1812172-frompath.md)
- [matchingName](installer_js/ioregistry/1812200-matchingname.md)
- [childrenOf](installer_js/ioregistry/1812215-childrenof.md)
- [parentsOf](installer_js/ioregistry/1812225-parentsof.md)
