Add tons of builtin helpers and array operations.
This commit is contained in:
@@ -20,6 +20,13 @@ var Builtins = map[string]*Builtin{
|
||||
"bool": {Name: "bool", Fn: Bool},
|
||||
"int": {Name: "int", Fn: Int},
|
||||
"str": {Name: "str", Fn: Str},
|
||||
"typeof": {Name: "typeof", Fn: TypeOf},
|
||||
"args": {Name: "args", Fn: Args},
|
||||
"lower": {Name: "lower", Fn: Lower},
|
||||
"upper": {Name: "upper", Fn: Upper},
|
||||
"join": {Name: "join", Fn: Join},
|
||||
"split": {Name: "split", Fn: Split},
|
||||
"find": {Name: "find", Fn: Find},
|
||||
}
|
||||
|
||||
// BuiltinsIndex ...
|
||||
|
||||
Reference in New Issue
Block a user