Get Component type from getChildren() API

I want to get perspective component type from .getChildren() API but it seems this is not available.
Is there any way to do this?

Not anything supported, at least.