Handbook
Glossary
check-vconvert-type ( value expected-type -- value )
Vocabulary
math
.
vectors
.
conversion
.
private
Inputs
value
an
object
expected-type
an
object
Outputs
value
an
object
Definition
USING:
classes
kernel
math.vectors.conversion
;
IN:
math.vectors.conversion.private
:
check-vconvert-type
( value expected-type -- value )
2dup
instance?
[
drop
]
[
bad-vconvert-input
]
if
;
inline