2017-11-01 16:16:48 +01:00

2 lines
55 B
JavaScript

var f = (x: mixed): % checks => typeof x === "string";