isJsInterface function

bool isJsInterface (
  1. LibraryElement lib,
  2. DartType type
)

Implementation

bool isJsInterface(LibraryElement lib, DartType type) =>
    !type.isDynamic &&
    type.isSubtypeOf(getType(lib, _libName, 'JsInterface').type);