function isStringObject
Jump to headingisStringObject(object: unknown): object is String
Returns true
if the value is a string object, e.g. created
by new String()
.
util.types.isStringObject('foo'); // Returns false
util.types.isStringObject(new String('foo')); // Returns true
Parameters Jump to heading
Jump to headingobject: unknown
Return Type Jump to heading
object is String