MCPcopy
hub / github.com/angular/angular / ifEnvSupportsWithDone

Function ifEnvSupportsWithDone

packages/zone.js/test/test-util.ts:34–40  ·  view source on GitHub ↗
(
  test: any,
  block: Function,
  otherwise?: Function,
)

Source from the content-addressed store, hash-verified

32}
33
34export function ifEnvSupportsWithDone(
35 test: any,
36 block: Function,
37 otherwise?: Function,
38): (done: Function) => void {
39 return _ifEnvSupports(test, block, otherwise, true);
40}
41
42function _ifEnvSupports(test: any, block: Function, otherwise?: Function, withDone = false) {
43 if (withDone) {

Callers 4

browser.spec.tsFile · 0.90
fetch.spec.tsFile · 0.90

Calls 1

_ifEnvSupportsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…