From b89072d937f3f9869cc271e71d8f74c3b6fa00f6 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sun, 29 Dec 2024 00:16:23 +0200 Subject: [PATCH] function: add page (#15241) --- pages/common/function.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pages/common/function.md diff --git a/pages/common/function.md b/pages/common/function.md new file mode 100644 index 000000000..b8649668f --- /dev/null +++ b/pages/common/function.md @@ -0,0 +1,12 @@ +# function + +> Define a function. +> More information: . + +- Define a function with the specified name: + +`function {{func_name}} { {{echo "Function contents here"}}; }` + +- Run a function named `func_name`: + +`func_name`