Module util

Module util 

Source

Functions§

looks_like_number_token
Heuristic: token that looks like a number (accepts leading ‘-’, digits, optional dot/exponent).
strip_ansi_len
Compute visible length (strip minimal ANSI we add) so alignment stays correct.