// IsAny returns true if the property has any of the given types.
IsAny returns true if the property has any of the given types.
// IsAny returns true if the property has any of the given types .
func (p *TypeProperty) IsAny(types ...Type) bool {
	if p == nil || len(types) == 0 {
		return false
	}
	for _, t := range types {
		if p.Is(t) {
			return true
		}
	}
	return false
}
func ( p * TypeProperty ) IsAny ( types ... Type ) bool { if p == nil || len ( types ) == 0 { return false } for _ , t := range types { if p . Is ( t ) { return true } } return false }
IsAny returns true if the property has any of the given types.
IsAny returns true if the property has any of the given types .