Skip to main content

.dump()

A function that formats the input for debugging output. If the input is a string, the function surrounds it with ". Otherwise, the function converts it to a string by calling toString().

Syntax

#fs.scripts.lib().dump(i);

Parameters

i

The input to be evaluated.

Return

Returns a string representation of the input value.

Example

function(context, args) {
const l = #fs.scripts.lib();
const my_test_input = "This is a string!";

return l.dump(my_test_input);
}