isStringObjectRaw
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
Content copied to clipboard
Since
v10.0.0