Commit 2adc6b7e authored by Mike John Herter's avatar Mike John Herter

Delete isString.js

parent a2b27a2c
function isString(args){
if(typeof (args) == typeof("hi")){
return true
}
else{
return false
}
}
console.log(isString('hello')); // => true
console.log(isString(['hello'])); // => false
console.log(isString('this is a long sentence')); // => true
console.log(isString({ a: 2 })); // => false
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment