Rechercher une page de manuel
Builtins.isInitialised.3kaya
Langue: en
Version: March 2009 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
Builtins::isInitialised - Checks if a value is initialisedSYNOPSIS
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 (kaya@kayalang.org). 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.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre