To use this website fully, you first need to accept the use of cookies. By agreeing to the use of cookies you consent to the use of functional cookies. For more information read this page.

Official ZPE Programming Environment documentationget_type

get_type (mixed o) ⇒ string

Returns the type of a variable stored in the memory or the type of an object. It's important to note that comparing types of values should not be done by comparing the result of the get_type command against a string value but it should be compared against another get_type function. E.g. the following is not recommended: get_type([32, 44]) == "list" but get_type([32, 44]) == get_type([]) is.

Alternative function names: type
First available: Version 1.3.3

There are no comments on this page.

New comment
Provide feedback on this page
Comments are sent via email to me.