跳至內容

Rebol 程式設計/positive?

來自華夏公益教科書,自由的教科書
POSITIVE? number 

如果值是正數,則返回 TRUE。

POSITIVE? 是一個動作值。

  • number -- (型別:數字 字元 金錢 時間)

原始碼

[編輯 | 編輯原始碼]
positive?: native[
    "Returns TRUE if the value is positive." 
    number [number! char! money! time!]
]
華夏公益教科書