Skip to main content

Module validate

Module validate 

Source
Expand description

Input validation helpers.

Functionsยง

identifier
Validate an iTerm2 object identifier (session, tab, window ID). Rejects null bytes and excessively long values.
json_value
Validate that a string is syntactically valid JSON.
text_len
Validate text length for send operations.
vec_len
Validate a vector parameter is within bounds.