arc:unset 關鍵字用於從物件中刪除屬性,或刪除物件本身。
參數
- item:要從中移除屬性的物件。如果未指定物件,則使用預設物件。此參數也可用於移除物件。
- attr:要從物件中刪除的屬性。可以使用 glob 掩碼刪除多個屬性(例如
*.foo)。
控制屬性
無範例
在推出物件之前,從物件中刪除屬性:另請參閱
- arc:set:在物件中設定屬性。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
使用 arc:unset 從物件中刪除一個或多個屬性,或刪除物件本身。
arc:unset 關鍵字用於從物件中刪除屬性,或刪除物件本身。
*.foo)。<arc:call op="fileListDir">
<arc:unset attr="file:size"/>
<arc:push/>
</arc:call>