String type

From MiniScript Wiki
Revision as of 16:23, 17 March 2020 by 71.226.33.30 (talk) (Created page with "<c>string type</c> returns a map that represents the string datatype in MiniScript's core type system. See also: number, list, map, funcRef === Arguments ===...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

string type returns a map that represents the string datatype in MiniScript's core type system.

See also: number, list, map, funcRef

Arguments

Parameter Name Default Value Meaning
paramnamd1 type description

Usage Notes

string type can be used with isa to check whether a variable refers to a string. You can also assign new methods here to make them available to all strings.

Example

"Hello" is a string		// returns 1