Every line of 'javascript isstring' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
20 export function isString (object: any) { 21 return typeof object === 'string' || object instanceof String; 22 }
270 function isString(object: mixed): boolean { 271 return typeof object === 'string' || object instanceof String 272 }
251 function isString(object) { 252 return typeof object === 'string'; 253 }
9 export function isString(string) { 10 return typeof string === 'string'; 11 }
18 function isString(value) { 19 return toString.call(value) === '[object String]'; 20 }
200 function isString (value /* :mixed */) /* :boolean */ { 201 return typeof value === 'string' || getObjectType(value) === '[object String]' 202 }
3 function isString(str) { 4 return Object.prototype.toString.call(str) === '[object String]'; 5 }
36 function isString(value) { 37 return typeof value == 'string' || 38 (value && typeof value == 'object' && toString.call(value) == stringClass) || false; 39 }
1 function isString(value) { 2 return Boolean(typeof value === 'string'); 3 }
127 isString: function isString(value) 128 { 129 try 130 { 131 return $.type(value) == "string"; 132 } 133 catch (e) 134 { 135 Log.exception(e); 136 } 137 },