misfits method

bool misfits(
  1. Object? raw
)

Whether raw is a non-empty value that does not fit this type, so resolve skips it. Only number and bool slots can misfit.

Implementation

bool misfits(Object? raw) =>
    raw != null && '$raw'.isNotEmpty && _typed(raw) == null;