node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org ยป



Ever have a callback and wanted to know what arguments are in there? Ever want to see if the last argument in a user-supplied callback invokes a certain method?

Textual doesn't judge you.

var textual = require('textual');
var fn = function (x, y,z) {
	var foo = x + y;
textual.doesObjectCallMethod(fn, textual.getLastArg(fn), 'done');




Returns a list of arguments for function fn


Returns the last argument for function fn


Returns the first argument for function fn

.doesObjectCallMethod(fn, objectstring, methodstring)

Returns true/false if object calls a method in function fn.

Proper Usage

Serve your use cases with ease!