#FEATURE by cg
authorClaus Gittinger <cg@exept.de>
Sat, 02 Mar 2019 23:12:16 +0100
changeset 23795 cdb4f82cb732
parent 23794 df3116f8e5b6
child 23796 72db4bb61aaf
#FEATURE by cg class: UnboxedIntegerArray added: #isIntegerArray
UnboxedIntegerArray.st
--- a/UnboxedIntegerArray.st	Sat Mar 02 23:11:52 2019 +0100
+++ b/UnboxedIntegerArray.st	Sat Mar 02 23:12:16 2019 +0100
@@ -98,6 +98,15 @@
     ^ 0
 !
 
+isIntegerArray
+    "return true if the receiver has integer elements.
+     These are Byte- and Integer arrays; both signed and unsigned"
+
+    ^ true
+
+    "Created: / 02-03-2019 / 23:10:28 / Claus Gittinger"
+!
+
 isValidElement:anObject
     "return true, if I can hold this kind of object"