Skip to content

Module util

The utilities module containing some utilities for internal use and others for external use

Functions

util.StringIterator(str: string): StringIterator

An iterator over strings used by event parser

util.split(str: string, sep: string): string[]

A simple split function

util.getHandles(): tty, tty

A function to retrieve stdin and stdout if you don't already have them