integer? ( object -- ? ) - Factor Documentation

integer? ( object -- ? )


Vocabulary
math

Inputs and outputs
object an object
? a boolean


Word description
Tests if the object is an instance of the integer class.

Definition
USING: kernel kernel.private math.private ;

IN: math

: integer? ( object -- ? )
tag 1 swap fixnum-shift-fast 33 fixnum-bitand 0 eq? not ;

AltStyle によって変換されたページ (->オリジナル) /