modding:function:link
Differences
This shows you the differences between two versions of the page.
modding:function:link [2017/06/04 22:29] – created 0xabcdef | modding:function:link [2017/06/04 22:36] (current) – 0xabcdef | ||
---|---|---|---|
Line 5: | Line 5: | ||
^ Syntax | (link string) -> data | | ^ Syntax | (link string) -> data | | ||
^ Arguments | string: A string that may contain a list or struct | | ^ Arguments | string: A string that may contain a list or struct | | ||
- | ^ Returns | data: If list or struct that was contained in the string, then it returns that if it was properly formatted or an error if not. Otherwise, it returns the first item after splitting the string by whitespace. | | + | ^ Returns | data: If list or struct that was contained in the string, then it returns that if it was properly formatted or an error if not. Returns **True** if the string was equal to " |
^ Category | [[struct functions|struct]], | ^ Category | [[struct functions|struct]], | ||
- | ^ Description | Can be used to create a list or struct from a string | | + | ^ Description | Can be used to create a list, struct, or boolean |
=== Example === | === Example === | ||
Return to [[: | Return to [[: |
modding/function/link.1496615399.txt.gz · Last modified: 2017/06/04 22:29 by 0xabcdef