Can I check if ReflectionType is instance of another type?
I want to check if a callable’s return type is an instance of another type. For example, let’s say I a have:
Can I check if ReflectionType is instance of a given type?
I want to check if a callable’s return type is an instance of another type. For example, let’s say I a have: