Method Has
Has<TPos>(out TPos)
Indicates whether the specified type TPos is in the hierarchy of this Pos object.
public bool Has<TPos>(out TPos pos) where TPos : Pos
Parameters
posTPosWhen this method returns, contains the first instance of type
TPosfound, or null if no instance was found.
Returns
Type Parameters
TPos