public hasGenericArray ( ) : boolean | ||
return | boolean | True if this type has any generic types |
public function hasGenericArray() : bool
{
if ($this->isEmpty()) {
return false;
}
return false !== $this->type_set->find(function (Type $type) : bool {
return $type->isGenericArray();
});
}