A bunch of cross-browser methods that extend String
.
npm install --save @string/isstring
String.isString(Any)
=> Boolean
npm install --save @string/prototype.has
String.prototype.has(String, insensitive?: !!Any)
=> Boolean,
throws: TypeError
npm install --save @string/prototype.insert
String.prototype.insert(index: Number, String)
=> String,
throws: TypeError
npm install --save @string/prototype.inspect
String.prototype.inspect(String)
=> String,
throws: TypeError