isdir ( ‘;’ FILE )+
Description: layout: default
Date: 2019-10-12T20:06:21-04:00

- # isdir ( ';' FILE )+

  layout: default

      public String _isdir(String args[]) {
      	boolean isdir = true;
      	// If no dirs provided, return false
      	if (args.length < 2) {
      		isdir = false;
      	}
      	for (int i = 1; i < args.length; i++) {
      		File f = new File(args[i]).getAbsoluteFile();
      		isdir &= f.isDirectory();
      	}
      	return isdir ? "true" : "false";

      }