has method

bool has(
  1. String feature
)

Whether feature is available. A name this API does not know is false rather than an error, which is why the names are constants here and not string literals at the call site.

Implementation

external bool has(String feature);