Provided by: kaya_0.4.4-6ubuntu3_amd64 

NAME
WebCommon::incomingFileExists - Check if any files are uploaded with a particular key name
SYNOPSIS
Bool incomingFileExists( String key )
ARGUMENTS
key The key to check for files
DESCRIPTION
Returns true if any files have been uploaded with this key name. This is generally better than catching
WebCommon.NotIncoming (3kaya) exceptions from WebCommon.incomingFile (3kaya)
if (incomingFileExists("picture")) {
pic = incomingFile("picture");
myUploadProcessor(pic);
}
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.
RELATED
WebCommon.allowFileUploads (3kaya)
WebCommon.incomingExists (3kaya)
WebCommon.incomingFile (3kaya)
WebCommon.incomingFileKeys (3kaya)
WebCommon.incomingFiles (3kaya)
Kaya July 2013 WebCommon.incomingFileExists(3kaya)