Array.checktype()

From ZCubes Wiki
Revision as of 11:23, 6 March 2017 by Joseph (talk | contribs) (Created page with "* << Z3 Home * Z3 Language Documentation * Z%5E3_Array_Manipulation_Member_Functions | Listing of Z3 Array Manipulation Member F...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Array.checktype(TypeArray, ForceCheckOnVariables)

Check if all elements of this array is of a set of Types.

[1,2,3,"TEST"].checktype("number")

false

[1,2,3].checktype("number")

true

See also Array.numbers()