public hasTemplateType ( ) : boolean | ||
Résultat | boolean | True if this union type has any types that are generic types |
public function hasTemplateType() : bool
{
return false !== $this->type_set->find(function (Type $type) : bool {
return $type instanceof TemplateType;
});
}