Answers for "how to check if input is string javascript"

0

how to check if input is string javascript

let value = 'abc';
if (typeof value === 'string') {
  // it is a string
}
Posted by: Guest on April-05-2022

Code answers related to "how to check if input is string javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language