has<T> static method

bool has<T>(
  1. Object? data
)

Implementation

static bool has<T>(Object? data) => data is T;