Checks if a value is initialised
Bool isInitialised( var a x )
x A possibly initialised variable
Returns true if the value is initialised, or false if not
(for example, an uninitialised array element)
arr = []; arr[2] = 55; b = isInitialised(arr); // true b = isInitialised(arr[2]); // true b = isInitialised(arr[1]); // false
Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/
The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.