Initial commit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
谢宇宁
2026-11-05 10:38:11 +07:00
co-authored by Claude Opus 5.5
commit 2d26ea8f90
1071 changed files with 100151 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
/// 可空 List 扩展
extension ListNullableX on List? {
/// 长度,null 视为 0
int em() => this?.length ?? 0;
/// 是否为空(null 也视为空)
bool empty() => this == null || this!.isEmpty;
/// 是否非空
bool notEmpty() => this != null && this!.isNotEmpty;
}