var t = Object.prototype.toString;
function isArray (s) { return t.call(s) === '[object Array]'; };
var x = [1,2,3];
if( isArray(x) && x.length > 0 ){ console.log('x is array and length is', x.length)} else { console.log('x isnt array') }
var x = {};
if( isArray(x) && x.length > 0 ){ console.log('x is array and length is', x.length)} else { console.log('x isnt array') }
Object.prototype.toString.call( variableName ) == '[object Array]'
GetUploadElement (unsigned int idx)=0
Get a certain upload element (returned instance is owned by this class)
AppendUploadFilePath (const WebString &path)=0
Append a file for POST data (adds a new UploadElement)
AppendUploadBytes (const char *bytes, unsigned int num_bytes)=0
Append a string of bytes for POST data (adds a new UploadElement)