accepts method

bool accepts(
  1. Object value
)

Whether value already has this type.

Implementation

bool accepts(Object value) => _accepts(value);