Typescript If Not Empty Matlab Colors