Kaya 0.4.4 reference for Builtins::null

List of functions and data types in Builtins

Bool null(Ptr p)

Arguments

Usage

Returns true if the foreign pointer is NULL. This is useful in testing whether a foreign function returns something valid, before throwing an exception. This is the only way, in general, that Ptr should be queried in Kaya; usually it is better to manipulate pointers C side.

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya