How to call a function in a TsubclassOf

TSubclassOf type main function is to limit selection of class to specific subclass so you are 100% sure the class you getting is related to that class (but it still can be nullptr), it also limits selection in the property editor