feat(stdlib): add explicitly granted env API

This commit is contained in:
Marqdo Agent committed 2026-11-21 08:40:54 +08:00
1 parent ae69391bc0
commit 9922bfae98
17 files changed
+322 -15

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
---
import:
env: "std:env"
---
## main
**存在 = env.存在("MARQDO_TEST_ENV")**
**读取 = env.读取("MARQDO_TEST_ENV")**
**缺失 = env.读取("MARQDO_MISSING_ENV")**
*[存在.ok, 存在.value, 读取.ok, 读取.value, 缺失.ok, 缺失.code]*