function numOrString(inp: string | number) { console.log(inp); } /*this means can be eiter a string or a number*/