u16-array? ( object -- ? ) (original) (raw)
Vocabulary
specialized-arrays.instances.alien.c-types.u16
Inputs and outputs
object | an object |
---|---|
? | a boolean |
Word description
Tests if the object is an instance of the u16-array class.
Definition
USING: classes.tuple.private kernel slots.private ;
IN: specialized-arrays.instances.alien.c-types.u16
: u16-array? ( object -- ? )
dup tuple?
[ layout-of 7 slot \ u16-array eq? ] [ drop f ] if ;