How to check if variable is a string in JavaScript

Strings
By Jad Joubran · 
Last updated Apr 28, 2018
const input = "potential string";

typeof input === "string";
true
typeof on MDN