Global.String.prototype.isFileName ()
function checks if the string passed contains any characters that are forbidden in image- or filenames

  • Returns
    Boolean
Sourcecode in /home/hannes/helma/modules/core/String.js:
188:   String.prototype.isFileName = function() {
189:       return !String.FILEPATTERN.test(this);
190:   }