inAngularZone function
For a zone
, returns whether it is within AngularDart ngZone
.
INTERNAL ONLY: This is an experimental API subject to change.
Implementation
@experimental
bool inAngularZone(NgZone ngZone, Zone zone) {
return identical(zone[ngZone._thisZoneKey], true);
}