mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-29 16:26:27 +00:00
7 lines
117 B
Dart
7 lines
117 B
Dart
|
/// API utilities
|
||
|
///
|
||
|
/// @author Pierre Hubert
|
||
|
|
||
|
/// Casting helper
|
||
|
T cast<T>(dynamic val) => val is T ? val : null;
|