isModule method
Returns whether an object is abstractly a "module" of providers.
In AngularDart, this is currently represented as a List<Object>
where
the elements of the list can be other List<Object>
, a Provider
, or a
Type
.
Validation may not be performed on the underlying elements.
Implementation
@protected
bool isModule(DartObject o) =>
isList(o) || o.type?.element != null && $Module.isExactlyType(o.type!);