import {StrRVal} from "./commands/command.js"; export const getSubjectDisplay = (sub: StrRVal): string => { if ( sub.term === 'string' ) { return sub.value } if ( sub.term === 'int' ) { return String(sub.term) } return JSON.stringify(sub.value, null, '\t') // fixme }