User Tools

Site Tools


modding:function:link

Talk Page

Syntax (link string) → data
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. Returns True if the string was equal to “true” (case insensitive) or Nil if the string was equal to “nil” (case insensitive). Otherwise, it returns the first item after splitting the string by whitespace.
Category struct, list, string operator
Description Can be used to create a list, struct, or boolean from a string

Example

Return to Functions list

modding/function/link.txt · Last modified: 2017/06/04 22:36 by 0xabcdef