Bash If String In Object Typescript Playground