From 1ecd1c828d8a0bd1446021912d68a42e24acdcc5 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 6 Oct 2020 20:24:49 +0200 Subject: lib: add warn() function Signed-off-by: Jo-Philipp Wich --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 14ce546..4b170d3 100644 --- a/README.md +++ b/README.md @@ -986,3 +986,10 @@ include("./untrusted.utpl", { print: print }) ``` + +#### 6.51. `warn(x, ...)` + +Print any of the given values to stderr. Arrays and objects are converted to +their JSON representation. + +Returns the amount of bytes printed. -- cgit v1.2.3