跳轉到內容

Rebol 程式設計/negative?

來自華夏公益教科書,開放的書籍,開放的世界
NEGATIVE? number 

如果數字為負,則返回 TRUE。

NEGATIVE? 是一個動作值。

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

原始碼

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