isFixed

tcmts.cli.kept.isFixed · #khlrche5 · term · runs anywhere

A kept value that's a number, string, boolean, bigint, null or undefined: nothing can change it.

export const isFixed = (value: string): boolean => !/^(\[|\{|new )/.test(value)

used by