Typescript If Not Empty Matlab Documentation Plotly