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`