Is Object string type - Node.js String

Node.js examples for String:String Value

Description

Is Object string type

Demo Code

function isString(arg) {
  return typeof arg === 'string';
}

Related Tutorials