Monokot Server 1.x
Search
⌃K

API

The code of modules and expressions is written in JavaScript and supports the ECMAScript 5 specification. The following built-in objects are available for programming (you can learn more about them here). If you have any suggestions for extending our API, please email to [email protected].
Object
Description
Array
Represents an untyped array
Boolean
Represents a boolean value
DataView
Intended for converting numbers to bytes and vice versa
Date
Represents date and time
Error
Represents an exception
JSON
Intended for creating objects from JSON string
Map
Represents an object containing key/value pairs
Math
Intended for accessing mathematical operations
Number
Represents a number
RegExp
Intended for working with regular expressions
Set
Represents a set of objects with key access
String
Represents a string
TypedArray
Represents a typed array, e.g. Int16Array
Further in this section, the API for working with objects inside the server is described.