How to enumerate nodes in config

I am trying to enumerate config nodes of a certain type within node configuration HTML.

The following call works for UI nodes:

RED.nodes.filterNodes({type:'my-type'})

But it doesn't work for any config nodes (the return is empty).

What is the proper way to enumerate config nodes?

Thanks

You can use RED.nodes.eachConfig to iterate through the config nodes:

RED.nodes.eachConfig(configNode => {

})

THanks! This works.