SYNOPSIS
Bool isInitialised( var a x )ARGUMENTS
x A possibly initialised variable
DESCRIPTION
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
AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/LICENSE
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.