platform/packages/json_god/lib/src/util.dart
2021-05-14 20:24:45 +08:00

5 lines
131 B
Dart

part of angel3_json_god;
bool _isPrimitive(value) {
return value is num || value is bool || value is String || value == null;
}