On Friday, 26 July 2019 at 03:42:58 UTC, Andrey Zherikov wrote:
Is there a way to check whether some module, say "foo", is available for import before doing "import foo"?


  static if (is(typeof((){import that.module.here;}))) {
    // it is available
  }


Reply via email to