isA<T> function

bool isA<T>(
  1. Object? object
)

Implementation

bool isA<T>(final Object? object) {
  if (object == null) return false;
  return object is T;
}