Skip to content

Latest commit

 

History

History
40 lines (38 loc) · 668 Bytes

README.md

File metadata and controls

40 lines (38 loc) · 668 Bytes

A bunch of cross-browser methods that extend String.

Static methods

isString

npm install --save @string/isstring
String.isString(Any)
    => Boolean

Instance methods

#has

npm install --save @string/prototype.has
String.prototype.has(String, insensitive?: !!Any)
    => Boolean,
    throws: TypeError

#insert

npm install --save @string/prototype.insert
String.prototype.insert(index: Number, String)
    => String,
    throws: TypeError

#inspect

npm install --save @string/prototype.inspect
String.prototype.inspect(String)
    => String,
    throws: TypeError