function foo(x): % checks { return typeof x === "string"; }