Skip to content

Latest commit

 

History

History

lib

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

#gracenode.lib

###Configuration N/A

###API: randomInt

Int randomInt(Int min, Int max)

Returns pseudo-random integer between min and max

###API: getArguments

Array getArguments(Function func)

Returns an array of arguments for the given function

function foo(num1, num2) {
	return num1 + num2;
}

var args = gracenode.lib.getArguments(foo);
// args = ["num1", "num2"];

###API: walkDir

void walkDir(String path, Function callback)

Recursively walks the given path and passes an array of file paths to the callback function