Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 740 Bytes

any.debug.md

File metadata and controls

28 lines (20 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 | Excel | 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

Calling Returning
any. debug ( label ) String | Number | Boolean | Date | Array | Function | Object | Excel | Record | Result
Parameters Type Description
label String The label printed before the debugging info.