def json.before
import yaml-for-bend@0.1.1.0/scan.bend as Scanimport Base
import yaml-for-bend@0.1.1.0/token.bend as T
440def json.before(out: List<&2, T.Token>) -> Bool:
441 match out:
442 case Nil{}:
443 False{}
444 case Con{t, rest}:
445 match t:
446 case T.Token{tok, start, end}:
447 json.tok(tok)