.\" This man page is automatically generated using .\" kayadoc2man from the Kaya development tools and the -xmldocs compile .\" option. Editing it directly is not encouraged. .\" It is under the same license as the source .k file that it was .\" generated from. .TH "Coercions.void" "3kaya" "August 2014" "Kaya" "Kaya module reference" .SH "NAME" Coercions::void \- Coercion to Void. .SH "SYNOPSIS" .B Void void( \fIa x\fP .B ")" .SH "ARGUMENTS" .PP .B "x" The value to discard .SH "DESCRIPTION" .PP Coerces any value to Void (i.e. discards it), usually used for discarding the result of a function. For example, the .BR "HTMLDocument(3kaya)" functions for adding elements to the tree return the element just added, which is often not necessary. .IP "" -4 p = addParagraph(doc.body,"Hello "); void(appendInlineElement(p,StrongEmphasis,"World!")); .PP Another use is in discarding the return value from database update queries .SH "AUTHORS" Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/ .SH 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.