Optional
entries: null | readonly (readonly [Mode, ModeSetting])[]Optional
iterable: null | Iterable<readonly [Mode, ModeSetting], any, any>Readonly
[toReadonly
sizeStatic
Readonly
[species]Returns an iterable of entries in the map.
Delete deletes a terminal mode. This has the same effect as setting the mode to ModeSetting.NOT_RECOGNIZED.
Returns an iterable of key, value pairs for every entry in the map.
Executes a provided function once per each key/value pair in the Map, in insertion order.
Optional
thisArg: anyGet returns the setting of a terminal mode. If the mode is not set, it returns ModeSetting.NOT_RECOGNIZED.
boolean indicating whether an element with the specified key exists or not.
Is Permanently Reset returns true if the mode is set to ModeSetting.PERMANENTLY_RESET.
Is Permanently Set returns true if the mode is set to ModeSetting.PERMANENTLY_SET.
Is Reset returns true if the mode is set to ModeSetting.RESET or ModeSetting.PERMANENTLY_RESET.
Is Set returns true if the mode is set to ModeSetting.SET or ModeSetting.PERMANENTLY_SET.
Returns an iterable of keys in the map
Permanently Reset sets a terminal mode to ModeSetting.PERMANENTLY_RESET.
Permanently Set sets a terminal mode to ModeSetting.PERMANENTLY_SET.
Returns an iterable of values in the map
Static
group
Modes represents the terminal modes that can be set or reset. By default, all modes are ModeSetting.NOT_RECOGNIZED.