bake: add homedir func
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -43,6 +43,7 @@ title: Bake standard library functions
|
||||
| `greaterthan` | Returns true if and only if the second number is greater than the first. |
|
||||
| `greaterthanorequalto` | Returns true if and only if the second number is greater than or equal to the first. |
|
||||
| `hasindex` | Returns true if if the given collection can be indexed with the given key without producing an error, or false otherwise. |
|
||||
| `homedir` | Returns the current user's home directory. |
|
||||
| `indent` | Adds a given number of spaces after each newline character in the given string. |
|
||||
| `index` | Returns the element with the given key from the given collection, or raises an error if there is no such element. |
|
||||
| `indexof` | Finds the element index for a given value in a list. |
|
||||
|
||||
Reference in New Issue
Block a user