Skip to content

Refactor use of typeofEquals and instanceof and remove isInstanceOfDomType #77

@srujzs

Description

@srujzs

dart:js_interop will have the following changes with https://dart-review.googlesource.com/c/sdk/+/326691:

  • typeofEquals takes a String and returns bool
  • instanceof returns a bool
  • instanceOfString is added to check instanceof with types that are available in the global context. isInstanceOfDomType does the same thing and can be removed.

This will require publishing a new version and updating the minimum SDK.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions