FindObjectOftype<> in Preview Scene

Is there any way (or equivalent) to FindObjectOfType() that works in the Preview Scene (aka “Prefab Mode”)?

-Scott

In case anyone else is looking for this, I found a workaround:

var stage = UnityEditor.Experimental.SceneManagement.PrefabStageUtility.GetCurrentPrefabStage();
var myComponent = stage.prefabContentsRoot.GetComponentInChildren<ComponentType>();