Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 740 Bytes

any.debug.md

File metadata and controls

29 lines (22 loc) · 740 Bytes

any.debug

The debug function is established to print information of any objects to the console. { any } = { String | Number | Boolean | Date | Array | Function | Object | Record | Result }

Sample

"hello world!".debug("test1");
(123).debug("test1");
(true).debug("test1");
(new Date()).debug("test2");

return (new Result()).runat().withData({
	"#userId" : "Wang"
}.debug("test3")).debug("test4");

API

CallingReturning
{any} . debug ( label ){any}
ParametersTypeDescription
labelStringThe label printed before the debugging info.