Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Latest commit

 

History

History
28 lines (22 loc) · 741 Bytes

any.debug.md

File metadata and controls

28 lines (22 loc) · 741 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.