跳至內容

Rebol 程式設計/any-path?

來自華夏公益教科書,自由的教科書
ANY-PATH? value 

如果 value 是任何型別的路徑,則返回 TRUE。

ANY-PATH? 是一個函式值。

  • value -- (型別: any-type)

原始碼

[編輯 | 編輯原始碼]
any-path?: func [
    "Return TRUE if value is any type of path." 
    value [any-type!]
][
    found? find any-path! type? get/any 'value
]
華夏公益教科書