String type

From MiniScript Wiki
Jump to navigation Jump to search

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

See also: number, list, map, funcRef

Usage Notes

string 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" isa string		// returns 1

See also