isPrimitive function

bool isPrimitive(
  1. Type type
)

Implementation

bool isPrimitive(Type type) => TypeToken.of(type).isPrimitive;