uint-array? ( object -- ? ) (original) (raw)

uint-array? ( object -- ? )

Vocabulary
specialized-arrays.instances.alien.c-types.uint

Inputs and outputs

object an object
? a boolean

Word description
Tests if the object is an instance of the uint-array class.

Definition

USING: classes.tuple.private kernel slots.private ;

IN: specialized-arrays.instances.alien.c-types.uint

: uint-array? ( object -- ? )
dup tuple?
[ layout-of 7 slot \ uint-array eq? ] [ drop f ] if ;