value <any>
value
返回:<boolean>
¥Returns: <boolean>
如果值是字符串对象(例如由 new String() 创建),则返回 true。
new String()
true
¥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 拷贝
util.types.isStringObject('foo'); // Returns false util.types.isStringObject(new String('foo')); // Returns true