dynamic instanceof(_JSObjectBase o, type)

Source

static instanceof(_JSObjectBase o, /*JsFunction|JSFunction*/ type) =>
    o._instanceof(type);