1 line
64 KiB
JavaScript
1 line
64 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[210],{449:function(t,e,r){"use strict";r.r(e);var v=r(46),_=Object(v.a)({},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[r("p",[r("em",[r("strong",[t._v("name")])]),t._v(": Type")]),t._v(" "),r("p",[r("em",[r("strong",[t._v("description")])]),t._v(": This is a extended version of String, specifically to handle types. Here we rely fully on what string provides us, however we also adjust the types received from the runtime, i.e. we remove the "),r("code",[t._v("T::")]),t._v(" prefixes found in some types for consistency accross implementation.")]),t._v(" "),r("h1",{attrs:{id:"hierarchy"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#hierarchy","aria-hidden":"true"}},[t._v("#")]),t._v(" Hierarchy")]),t._v(" "),r("p",[t._v("↳ "),r("router-link",{attrs:{to:"/types/classes/_primitive_text_.text.html"}},[t._v("Text")])],1),t._v(" "),r("p",[r("strong",[t._v("↳ Type")])]),t._v(" "),r("p",[t._v("↳ "),r("router-link",{attrs:{to:"/types/classes/_metadata_v1_storage_.plaintype.html"}},[t._v("PlainType")])],1),t._v(" "),r("h1",{attrs:{id:"implements"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#implements","aria-hidden":"true"}},[t._v("#")]),t._v(" Implements")]),t._v(" "),r("ul",[r("li",[r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[t._v("Codec")])],1)]),t._v(" "),r("h1",{attrs:{id:"indexable"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#indexable","aria-hidden":"true"}},[t._v("#")]),t._v(" Indexable")]),t._v(" "),r("p",[t._v("[index: "),r("code",[t._v("number")]),t._v("]: "),r("code",[t._v("string")])]),t._v(" "),r("h1",{attrs:{id:"constructors"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#constructors","aria-hidden":"true"}},[t._v("#")]),t._v(" Constructors")]),t._v(" "),r("p",[r("a",{attrs:{id:"constructor"}})]),t._v(" "),r("h2",{attrs:{id:"constructor"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#constructor","aria-hidden":"true"}},[t._v("#")]),t._v(" constructor")]),t._v(" "),r("p",[t._v("⊕ "),r("strong",[t._v("new Type")]),t._v("(value?: "),r("em",[r("router-link",{attrs:{to:"/types/classes/_primitive_text_.text.html"}},[t._v("Text")]),t._v(" | "),r("code",[t._v("Uint8Array")]),t._v(" | "),r("code",[t._v("string")])],1),t._v("): "),r("router-link",{attrs:{to:"/types/classes/_primitive_type_.type.html"}},[t._v("Type")])],1),t._v(" "),r("p",[r("em",[t._v("Overrides "),r("router-link",{attrs:{to:"/types/classes/_primitive_text_.text.html"}},[t._v("Text")]),t._v("."),r("router-link",{attrs:{to:"/types/classes/_primitive_text_.text.html#constructor"}},[t._v("constructor")])],1)]),t._v(" "),r("p",[r("em",[t._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/primitive/Type.ts#L19",target:"_blank",rel:"noopener noreferrer"}},[t._v("primitive/Type.ts:19"),r("OutboundLink")],1)])]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Default value")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[r("code",[t._v("Default value")]),t._v(" value")]),t._v(" "),r("td",[r("router-link",{attrs:{to:"/types/classes/_primitive_text_.text.html"}},[t._v("Text")]),t._v(" | "),r("code",[t._v("Uint8Array")]),t._v(" | "),r("code",[t._v("string")])],1),t._v(" "),r("td",[t._v('""')])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("router-link",{attrs:{to:"/types/classes/_primitive_type_.type.html"}},[t._v("Type")])],1),t._v(" "),r("hr"),t._v(" "),r("h1",{attrs:{id:"accessors"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#accessors","aria-hidden":"true"}},[t._v("#")]),t._v(" Accessors")]),t._v(" "),r("p",[r("a",{attrs:{id:"encodedlength"}})]),t._v(" "),r("h2",{attrs:{id:"encodedlength"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#encodedlength","aria-hidden":"true"}},[t._v("#")]),t._v(" encodedLength")]),t._v(" "),r("p",[r("strong",[t._v("get encodedLength")]),t._v("(): "),r("code",[t._v("number")])]),t._v(" "),r("p",[r("em",[t._v("Overrides "),r("router-link",{attrs:{to:"/types/classes/_primitive_text_.text.html"}},[t._v("Text")]),t._v("."),r("router-link",{attrs:{to:"/types/classes/_primitive_text_.text.html#encodedlength"}},[t._v("encodedLength")])],1)]),t._v(" "),r("p",[r("em",[t._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/primitive/Type.ts#L76",target:"_blank",rel:"noopener noreferrer"}},[t._v("primitive/Type.ts:76"),r("OutboundLink")],1)])]),t._v(" "),r("p",[r("em",[r("strong",[t._v("description")])]),t._v(": The length of the value when encoded as a Uint8Array")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("number")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"isempty"}})]),t._v(" "),r("h2",{attrs:{id:"isempty"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#isempty","aria-hidden":"true"}},[t._v("#")]),t._v(" isEmpty")]),t._v(" "),r("p",[r("strong",[t._v("get isEmpty")]),t._v("(): "),r("code",[t._v("boolean")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_primitive_text_.text.html"}},[t._v("Text")]),t._v("."),r("router-link",{attrs:{to:"/types/classes/_primitive_text_.text.html#isempty"}},[t._v("isEmpty")])],1)]),t._v(" "),r("p",[r("em",[t._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/primitive/Text.ts#L52",target:"_blank",rel:"noopener noreferrer"}},[t._v("primitive/Text.ts:52"),r("OutboundLink")],1)])]),t._v(" "),r("p",[r("em",[r("strong",[t._v("description")])]),t._v(": Checks if the value is an empty value")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("boolean")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"length"}})]),t._v(" "),r("h2",{attrs:{id:"length"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#length","aria-hidden":"true"}},[t._v("#")]),t._v(" length")]),t._v(" "),r("p",[r("strong",[t._v("get length")]),t._v("(): "),r("code",[t._v("number")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_primitive_text_.text.html"}},[t._v("Text")]),t._v("."),r("router-link",{attrs:{to:"/types/classes/_primitive_text_.text.html#length"}},[t._v("length")])],1)]),t._v(" "),r("p",[r("em",[t._v("Overrides String.length")])]),t._v(" "),r("p",[r("em",[t._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/primitive/Text.ts#L59",target:"_blank",rel:"noopener noreferrer"}},[t._v("primitive/Text.ts:59"),r("OutboundLink")],1)])]),t._v(" "),r("p",[r("em",[r("strong",[t._v("description")])]),t._v(": The length of the value")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("number")])]),t._v(" "),r("hr"),t._v(" "),r("h1",{attrs:{id:"methods"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#methods","aria-hidden":"true"}},[t._v("#")]),t._v(" Methods")]),t._v(" "),r("p",[r("a",{attrs:{id:"___iterator"}})]),t._v(" "),r("h2",{attrs:{id:"iterator"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#iterator","aria-hidden":"true"}},[t._v("#")]),t._v(" __@iterator")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("__@iterator")]),t._v("(): "),r("code",[t._v("IterableIterator")]),t._v("<"),r("code",[t._v("string")]),t._v(">")]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.[Symbol.iterator]")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.iterable.d.ts:235")])]),t._v(" "),r("p",[t._v("Iterator")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("IterableIterator")]),t._v("<"),r("code",[t._v("string")]),t._v(">")]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"anchor"}})]),t._v(" "),r("h2",{attrs:{id:"anchor"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#anchor","aria-hidden":"true"}},[t._v("#")]),t._v(" anchor")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("anchor")]),t._v("(name: "),r("em",[r("code",[t._v("string")])]),t._v("): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.anchor")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:454")])]),t._v(" "),r("p",[t._v("Returns an HTML anchor element and sets the name attribute to the text value")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Description")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("name")]),t._v(" "),r("td",[r("code",[t._v("string")])]),t._v(" "),r("td")])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"big"}})]),t._v(" "),r("h2",{attrs:{id:"big"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#big","aria-hidden":"true"}},[t._v("#")]),t._v(" big")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("big")]),t._v("(): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.big")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:457")])]),t._v(" "),r("p",[t._v("Returns a HTML element")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"blink"}})]),t._v(" "),r("h2",{attrs:{id:"blink"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#blink","aria-hidden":"true"}},[t._v("#")]),t._v(" blink")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("blink")]),t._v("(): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.blink")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:460")])]),t._v(" "),r("p",[t._v("Returns a HTML element")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"bold"}})]),t._v(" "),r("h2",{attrs:{id:"bold"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#bold","aria-hidden":"true"}},[t._v("#")]),t._v(" bold")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("bold")]),t._v("(): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.bold")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:463")])]),t._v(" "),r("p",[t._v("Returns a "),r("strong",[t._v("HTML element")])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"charat"}})]),t._v(" "),r("h2",{attrs:{id:"charat"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#charat","aria-hidden":"true"}},[t._v("#")]),t._v(" charAt")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("charAt")]),t._v("(pos: "),r("em",[r("code",[t._v("number")])]),t._v("): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.charAt")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:402")])]),t._v(" "),r("p",[t._v("Returns the character at the specified index.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Description")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("pos")]),t._v(" "),r("td",[r("code",[t._v("number")])]),t._v(" "),r("td",[t._v("The zero-based index of the desired character.")])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"charcodeat"}})]),t._v(" "),r("h2",{attrs:{id:"charcodeat"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#charcodeat","aria-hidden":"true"}},[t._v("#")]),t._v(" charCodeAt")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("charCodeAt")]),t._v("(index: "),r("em",[r("code",[t._v("number")])]),t._v("): "),r("code",[t._v("number")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.charCodeAt")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:408")])]),t._v(" "),r("p",[t._v("Returns the Unicode value of the character at the specified location.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Description")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("index")]),t._v(" "),r("td",[r("code",[t._v("number")])]),t._v(" "),r("td",[t._v("The zero-based index of the desired character. If there is no character at the specified index, NaN is returned.")])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("number")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"codepointat"}})]),t._v(" "),r("h2",{attrs:{id:"codepointat"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#codepointat","aria-hidden":"true"}},[t._v("#")]),t._v(" codePointAt")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("codePointAt")]),t._v("(pos: "),r("em",[r("code",[t._v("number")])]),t._v("): "),r("code",[t._v("number")]),t._v(" | "),r("code",[t._v("undefined")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.codePointAt")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:402")])]),t._v(" "),r("p",[t._v("Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point value of the UTF-16 encoded code point starting at the string element at position pos in the String resulting from converting this object to a String. If there is no element at that position, the result is undefined. If a valid UTF-16 surrogate pair does not begin at pos, the result is the code unit at pos.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("pos")]),t._v(" "),r("td",[r("code",[t._v("number")])])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("number")]),t._v(" | "),r("code",[t._v("undefined")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"concat"}})]),t._v(" "),r("h2",{attrs:{id:"concat"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#concat","aria-hidden":"true"}},[t._v("#")]),t._v(" concat")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("concat")]),t._v("(...strings: "),r("em",[r("code",[t._v("string")]),t._v("[]")]),t._v("): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.concat")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:414")])]),t._v(" "),r("p",[t._v("Returns a string that contains the concatenation of two or more strings.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Description")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[r("code",[t._v("Rest")]),t._v(" strings")]),t._v(" "),r("td",[r("code",[t._v("string")]),t._v("[]")]),t._v(" "),r("td",[t._v("The strings to append to the end of the string.")])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"endswith"}})]),t._v(" "),r("h2",{attrs:{id:"endswith"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#endswith","aria-hidden":"true"}},[t._v("#")]),t._v(" endsWith")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("endsWith")]),t._v("(searchString: "),r("em",[r("code",[t._v("string")])]),t._v(", endPosition?: "),r("em",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("number")])]),t._v("): "),r("code",[t._v("boolean")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.endsWith")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:418")])]),t._v(" "),r("p",[t._v("Returns true if the sequence of elements of searchString converted to a String is the same as the corresponding elements of this object (converted to a String) starting at endPosition – length(this). Otherwise returns false.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("searchString")]),t._v(" "),r("td",[r("code",[t._v("string")])])]),t._v(" "),r("tr",[r("td",[r("code",[t._v("Optional")]),t._v(" endPosition")]),t._v(" "),r("td",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("number")])])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("boolean")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"eq"}})]),t._v(" "),r("h2",{attrs:{id:"eq"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#eq","aria-hidden":"true"}},[t._v("#")]),t._v(" eq")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("eq")]),t._v("(other?: "),r("em",[r("code",[t._v("any")])]),t._v("): "),r("code",[t._v("boolean")])]),t._v(" "),r("p",[r("em",[t._v("Implementation of "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[t._v("Codec")]),t._v("."),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html#eq"}},[t._v("eq")])],1)]),t._v(" "),r("p",[r("em",[t._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_primitive_text_.text.html"}},[t._v("Text")]),t._v("."),r("router-link",{attrs:{to:"/types/classes/_primitive_text_.text.html#eq"}},[t._v("eq")])],1)]),t._v(" "),r("p",[r("em",[t._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/primitive/Text.ts#L67",target:"_blank",rel:"noopener noreferrer"}},[t._v("primitive/Text.ts:67"),r("OutboundLink")],1)])]),t._v(" "),r("p",[r("em",[r("strong",[t._v("description")])]),t._v(": Compares the value of the input to see if there is a match")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[r("code",[t._v("Optional")]),t._v(" other")]),t._v(" "),r("td",[r("code",[t._v("any")])])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("boolean")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"fixed"}})]),t._v(" "),r("h2",{attrs:{id:"fixed"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#fixed","aria-hidden":"true"}},[t._v("#")]),t._v(" fixed")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("fixed")]),t._v("(): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.fixed")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:466")])]),t._v(" "),r("p",[t._v("Returns a HTML element")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"fontcolor"}})]),t._v(" "),r("h2",{attrs:{id:"fontcolor"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#fontcolor","aria-hidden":"true"}},[t._v("#")]),t._v(" fontcolor")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("fontcolor")]),t._v("(color: "),r("em",[r("code",[t._v("string")])]),t._v("): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.fontcolor")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:469")])]),t._v(" "),r("p",[t._v("Returns a HTML element and sets the color attribute value")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("color")]),t._v(" "),r("td",[r("code",[t._v("string")])])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"fontsize"}})]),t._v(" "),r("h2",{attrs:{id:"fontsize"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#fontsize","aria-hidden":"true"}},[t._v("#")]),t._v(" fontsize")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("fontsize")]),t._v("(size: "),r("em",[r("code",[t._v("number")])]),t._v("): "),r("code",[t._v("string")])]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("fontsize")]),t._v("(size: "),r("em",[r("code",[t._v("string")])]),t._v("): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.fontsize")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:472")])]),t._v(" "),r("p",[t._v("Returns a HTML element and sets the size attribute value")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("size")]),t._v(" "),r("td",[r("code",[t._v("number")])])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.fontsize")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:475")])]),t._v(" "),r("p",[t._v("Returns a HTML element and sets the size attribute value")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("size")]),t._v(" "),r("td",[r("code",[t._v("string")])])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"includes"}})]),t._v(" "),r("h2",{attrs:{id:"includes"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#includes","aria-hidden":"true"}},[t._v("#")]),t._v(" includes")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("includes")]),t._v("(searchString: "),r("em",[r("code",[t._v("string")])]),t._v(", position?: "),r("em",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("number")])]),t._v("): "),r("code",[t._v("boolean")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.includes")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:411")])]),t._v(" "),r("p",[t._v("Returns true if searchString appears as a substring of the result of converting this object to a String, at one or more positions that are greater than or equal to position; otherwise, returns false.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Description")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("searchString")]),t._v(" "),r("td",[r("code",[t._v("string")])]),t._v(" "),r("td",[t._v("search string")])]),t._v(" "),r("tr",[r("td",[r("code",[t._v("Optional")]),t._v(" position")]),t._v(" "),r("td",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("number")])]),t._v(" "),r("td",[t._v("If position is undefined, 0 is assumed, so as to search all of the String.")])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("boolean")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"indexof"}})]),t._v(" "),r("h2",{attrs:{id:"indexof"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#indexof","aria-hidden":"true"}},[t._v("#")]),t._v(" indexOf")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("indexOf")]),t._v("(searchString: "),r("em",[r("code",[t._v("string")])]),t._v(", position?: "),r("em",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("number")])]),t._v("): "),r("code",[t._v("number")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.indexOf")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:421")])]),t._v(" "),r("p",[t._v("Returns the position of the first occurrence of a substring.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Description")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("searchString")]),t._v(" "),r("td",[r("code",[t._v("string")])]),t._v(" "),r("td",[t._v("The substring to search for in the string")])]),t._v(" "),r("tr",[r("td",[r("code",[t._v("Optional")]),t._v(" position")]),t._v(" "),r("td",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("number")])]),t._v(" "),r("td",[t._v("The index at which to begin searching the String object. If omitted, search starts at the beginning of the string.")])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("number")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"italics"}})]),t._v(" "),r("h2",{attrs:{id:"italics"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#italics","aria-hidden":"true"}},[t._v("#")]),t._v(" italics")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("italics")]),t._v("(): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.italics")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:478")])]),t._v(" "),r("p",[t._v("Returns an "),r("em",[t._v("HTML element")])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"lastindexof"}})]),t._v(" "),r("h2",{attrs:{id:"lastindexof"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#lastindexof","aria-hidden":"true"}},[t._v("#")]),t._v(" lastIndexOf")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("lastIndexOf")]),t._v("(searchString: "),r("em",[r("code",[t._v("string")])]),t._v(", position?: "),r("em",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("number")])]),t._v("): "),r("code",[t._v("number")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.lastIndexOf")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:428")])]),t._v(" "),r("p",[t._v("Returns the last occurrence of a substring in the string.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Description")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("searchString")]),t._v(" "),r("td",[r("code",[t._v("string")])]),t._v(" "),r("td",[t._v("The substring to search for.")])]),t._v(" "),r("tr",[r("td",[r("code",[t._v("Optional")]),t._v(" position")]),t._v(" "),r("td",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("number")])]),t._v(" "),r("td",[t._v("The index at which to begin searching. If omitted, the search begins at the end of the string.")])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("number")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"link"}})]),t._v(" "),r("h2",{attrs:{id:"link"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#link","aria-hidden":"true"}},[t._v("#")]),t._v(" link")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("link")]),t._v("(url: "),r("em",[r("code",[t._v("string")])]),t._v("): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.link")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:481")])]),t._v(" "),r("p",[t._v("Returns an HTML element and sets the href attribute value")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("url")]),t._v(" "),r("td",[r("code",[t._v("string")])])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"localecompare"}})]),t._v(" "),r("h2",{attrs:{id:"localecompare"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#localecompare","aria-hidden":"true"}},[t._v("#")]),t._v(" localeCompare")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("localeCompare")]),t._v("(that: "),r("em",[r("code",[t._v("string")])]),t._v("): "),r("code",[t._v("number")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.localeCompare")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:434")])]),t._v(" "),r("p",[t._v("Determines whether two strings are equivalent in the current locale.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Description")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("that")]),t._v(" "),r("td",[r("code",[t._v("string")])]),t._v(" "),r("td",[t._v("String to compare to target string")])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("number")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"match"}})]),t._v(" "),r("h2",{attrs:{id:"match"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#match","aria-hidden":"true"}},[t._v("#")]),t._v(" match")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("match")]),t._v("(regexp: "),r("em",[r("code",[t._v("string")]),t._v(" | "),r("code",[t._v("RegExp")])]),t._v("): "),r("code",[t._v("RegExpMatchArray")]),t._v(" | "),r("code",[t._v("null")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.match")])]),t._v(" "),r("p",[r("em",[t._v("Overrides String.match")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:440")])]),t._v(" "),r("p",[t._v("Matches a string with a regular expression, and returns an array containing the results of that search.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Description")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("regexp")]),t._v(" "),r("td",[r("code",[t._v("string")]),t._v(" | "),r("code",[t._v("RegExp")])]),t._v(" "),r("td",[t._v("A variable name or string literal containing the regular expression pattern and flags.")])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("RegExpMatchArray")]),t._v(" | "),r("code",[t._v("null")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"normalize"}})]),t._v(" "),r("h2",{attrs:{id:"normalize"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#normalize","aria-hidden":"true"}},[t._v("#")]),t._v(" normalize")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("normalize")]),t._v("(form: "),r("em",[t._v('"NFC" | "NFD" | "NFKC" | "NFKD"')]),t._v("): "),r("code",[t._v("string")])]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("normalize")]),t._v("(form?: "),r("em",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("string")])]),t._v("): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.normalize")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:426")])]),t._v(" "),r("p",[t._v("Returns the String value result of normalizing the string into the normalization form named by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Description")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("form")]),t._v(" "),r("td",[t._v('"NFC" | "NFD" | "NFKC" | "NFKD"')]),t._v(" "),r("td",[t._v('Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default is "NFC"')])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.normalize")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:434")])]),t._v(" "),r("p",[t._v("Returns the String value result of normalizing the string into the normalization form named by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Description")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[r("code",[t._v("Optional")]),t._v(" form")]),t._v(" "),r("td",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("string")])]),t._v(" "),r("td",[t._v('Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default is "NFC"')])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"padend"}})]),t._v(" "),r("h2",{attrs:{id:"padend"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#padend","aria-hidden":"true"}},[t._v("#")]),t._v(" padEnd")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("padEnd")]),t._v("(maxLength: "),r("em",[r("code",[t._v("number")])]),t._v(", fillString?: "),r("em",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("string")])]),t._v("): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.padEnd")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2017.string.d.ts:46")])]),t._v(" "),r("p",[t._v("Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length. The padding is applied from the end (right) of the current string.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Description")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("maxLength")]),t._v(" "),r("td",[r("code",[t._v("number")])]),t._v(" "),r("td",[t._v("The length of the resulting string once the current string has been padded. If this parameter is smaller than the current string's length, the current string will be returned as it is.")])]),t._v(" "),r("tr",[r("td",[r("code",[t._v("Optional")]),t._v(" fillString")]),t._v(" "),r("td",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("string")])]),t._v(" "),r("td",[t._v('The string to pad the current string with. If this string is too long, it will be truncated and the left-most part will be applied. The default value for this parameter is " " (U+0020).')])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"padstart"}})]),t._v(" "),r("h2",{attrs:{id:"padstart"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#padstart","aria-hidden":"true"}},[t._v("#")]),t._v(" padStart")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("padStart")]),t._v("(maxLength: "),r("em",[r("code",[t._v("number")])]),t._v(", fillString?: "),r("em",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("string")])]),t._v("): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.padStart")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2017.string.d.ts:33")])]),t._v(" "),r("p",[t._v("Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length. The padding is applied from the start (left) of the current string.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Description")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("maxLength")]),t._v(" "),r("td",[r("code",[t._v("number")])]),t._v(" "),r("td",[t._v("The length of the resulting string once the current string has been padded. If this parameter is smaller than the current string's length, the current string will be returned as it is.")])]),t._v(" "),r("tr",[r("td",[r("code",[t._v("Optional")]),t._v(" fillString")]),t._v(" "),r("td",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("string")])]),t._v(" "),r("td",[t._v('The string to pad the current string with. If this string is too long, it will be truncated and the left-most part will be applied. The default value for this parameter is " " (U+0020).')])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"repeat"}})]),t._v(" "),r("h2",{attrs:{id:"repeat"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#repeat","aria-hidden":"true"}},[t._v("#")]),t._v(" repeat")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("repeat")]),t._v("(count: "),r("em",[r("code",[t._v("number")])]),t._v("): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.repeat")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:441")])]),t._v(" "),r("p",[t._v("Returns a String value that is made from count copies appended together. If count is 0, the empty string is returned.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Description")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("count")]),t._v(" "),r("td",[r("code",[t._v("number")])]),t._v(" "),r("td",[t._v("number of copies to append")])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"replace"}})]),t._v(" "),r("h2",{attrs:{id:"replace"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#replace","aria-hidden":"true"}},[t._v("#")]),t._v(" replace")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("replace")]),t._v("(searchValue: "),r("em",[r("code",[t._v("string")]),t._v(" | "),r("code",[t._v("RegExp")])]),t._v(", replaceValue: "),r("em",[r("code",[t._v("string")])]),t._v("): "),r("code",[t._v("string")])]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("replace")]),t._v("(searchValue: "),r("em",[r("code",[t._v("string")]),t._v(" | "),r("code",[t._v("RegExp")])]),t._v(", replacer: "),r("em",[r("code",[t._v("function")])]),t._v("): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.replace")])]),t._v(" "),r("p",[r("em",[t._v("Overrides String.replace")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:447")])]),t._v(" "),r("p",[t._v("Replaces text in a string, using a regular expression or search string.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Description")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("searchValue")]),t._v(" "),r("td",[r("code",[t._v("string")]),t._v(" | "),r("code",[t._v("RegExp")])]),t._v(" "),r("td",[t._v("A string to search for.")])]),t._v(" "),r("tr",[r("td",[t._v("replaceValue")]),t._v(" "),r("td",[r("code",[t._v("string")])]),t._v(" "),r("td",[t._v("A string containing the text to replace for every successful match of searchValue in this string.")])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.replace")])]),t._v(" "),r("p",[r("em",[t._v("Overrides String.replace")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:454")])]),t._v(" "),r("p",[t._v("Replaces text in a string, using a regular expression or search string.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Description")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("searchValue")]),t._v(" "),r("td",[r("code",[t._v("string")]),t._v(" | "),r("code",[t._v("RegExp")])]),t._v(" "),r("td",[t._v("A string to search for.")])]),t._v(" "),r("tr",[r("td",[t._v("replacer")]),t._v(" "),r("td",[r("code",[t._v("function")])]),t._v(" "),r("td",[t._v("A function that returns the replacement text.")])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"search"}})]),t._v(" "),r("h2",{attrs:{id:"search"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#search","aria-hidden":"true"}},[t._v("#")]),t._v(" search")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("search")]),t._v("(regexp: "),r("em",[r("code",[t._v("string")]),t._v(" | "),r("code",[t._v("RegExp")])]),t._v("): "),r("code",[t._v("number")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.search")])]),t._v(" "),r("p",[r("em",[t._v("Overrides String.search")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:460")])]),t._v(" "),r("p",[t._v("Finds the first substring match in a regular expression search.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Description")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("regexp")]),t._v(" "),r("td",[r("code",[t._v("string")]),t._v(" | "),r("code",[t._v("RegExp")])]),t._v(" "),r("td",[t._v("The regular expression pattern and applicable flags.")])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("number")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"slice"}})]),t._v(" "),r("h2",{attrs:{id:"slice"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#slice","aria-hidden":"true"}},[t._v("#")]),t._v(" slice")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("slice")]),t._v("(start?: "),r("em",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("number")])]),t._v(", end?: "),r("em",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("number")])]),t._v("): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.slice")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:468")])]),t._v(" "),r("p",[t._v("Returns a section of a string.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Description")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[r("code",[t._v("Optional")]),t._v(" start")]),t._v(" "),r("td",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("number")])]),t._v(" "),r("td",[t._v("The index to the beginning of the specified portion of stringObj.")])]),t._v(" "),r("tr",[r("td",[r("code",[t._v("Optional")]),t._v(" end")]),t._v(" "),r("td",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("number")])]),t._v(" "),r("td",[t._v("The index to the end of the specified portion of stringObj. The substring includes the characters up to, but not including, the character indicated by end. If this value is not specified, the substring continues to the end of stringObj.")])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"small"}})]),t._v(" "),r("h2",{attrs:{id:"small"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#small","aria-hidden":"true"}},[t._v("#")]),t._v(" small")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("small")]),t._v("(): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.small")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:484")])]),t._v(" "),r("p",[t._v("Returns a HTML element")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"split"}})]),t._v(" "),r("h2",{attrs:{id:"split"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#split","aria-hidden":"true"}},[t._v("#")]),t._v(" split")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("split")]),t._v("(separator: "),r("em",[r("code",[t._v("string")]),t._v(" | "),r("code",[t._v("RegExp")])]),t._v(", limit?: "),r("em",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("number")])]),t._v("): "),r("code",[t._v("string")]),t._v("[]")]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.split")])]),t._v(" "),r("p",[r("em",[t._v("Overrides String.split")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:475")])]),t._v(" "),r("p",[t._v("Split a string into substrings using the specified separator and return them as an array.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Description")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("separator")]),t._v(" "),r("td",[r("code",[t._v("string")]),t._v(" | "),r("code",[t._v("RegExp")])]),t._v(" "),r("td",[t._v("A string that identifies character or characters to use in separating the string. If omitted, a single-element array containing the entire string is returned.")])]),t._v(" "),r("tr",[r("td",[r("code",[t._v("Optional")]),t._v(" limit")]),t._v(" "),r("td",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("number")])]),t._v(" "),r("td",[t._v("A value used to limit the number of elements returned in the array.")])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")]),t._v("[]")]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"startswith"}})]),t._v(" "),r("h2",{attrs:{id:"startswith"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#startswith","aria-hidden":"true"}},[t._v("#")]),t._v(" startsWith")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("startsWith")]),t._v("(searchString: "),r("em",[r("code",[t._v("string")])]),t._v(", position?: "),r("em",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("number")])]),t._v("): "),r("code",[t._v("boolean")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.startsWith")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:448")])]),t._v(" "),r("p",[t._v("Returns true if the sequence of elements of searchString converted to a String is the same as the corresponding elements of this object (converted to a String) starting at position. Otherwise returns false.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("searchString")]),t._v(" "),r("td",[r("code",[t._v("string")])])]),t._v(" "),r("tr",[r("td",[r("code",[t._v("Optional")]),t._v(" position")]),t._v(" "),r("td",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("number")])])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("boolean")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"strike"}})]),t._v(" "),r("h2",{attrs:{id:"strike"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#strike","aria-hidden":"true"}},[t._v("#")]),t._v(" strike")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("strike")]),t._v("(): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.strike")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:487")])]),t._v(" "),r("p",[t._v("Returns a HTML element")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"sub"}})]),t._v(" "),r("h2",{attrs:{id:"sub"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#sub","aria-hidden":"true"}},[t._v("#")]),t._v(" sub")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("sub")]),t._v("(): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.sub")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:490")])]),t._v(" "),r("p",[t._v("Returns a HTML element")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"substr"}})]),t._v(" "),r("h2",{attrs:{id:"substr"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#substr","aria-hidden":"true"}},[t._v("#")]),t._v(" substr")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("substr")]),t._v("(from: "),r("em",[r("code",[t._v("number")])]),t._v(", length?: "),r("em",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("number")])]),t._v("): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.substr")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:509")])]),t._v(" "),r("p",[t._v("Gets a substring beginning at the specified location and having the specified length.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Description")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("from")]),t._v(" "),r("td",[r("code",[t._v("number")])]),t._v(" "),r("td",[t._v("The starting position of the desired substring. The index of the first character in the string is zero.")])]),t._v(" "),r("tr",[r("td",[r("code",[t._v("Optional")]),t._v(" length")]),t._v(" "),r("td",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("number")])]),t._v(" "),r("td",[t._v("The number of characters to include in the returned substring.")])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"substring"}})]),t._v(" "),r("h2",{attrs:{id:"substring"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#substring","aria-hidden":"true"}},[t._v("#")]),t._v(" substring")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("substring")]),t._v("(start: "),r("em",[r("code",[t._v("number")])]),t._v(", end?: "),r("em",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("number")])]),t._v("): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.substring")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:483")])]),t._v(" "),r("p",[t._v("Returns the substring at the specified location within a String object.")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Description")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("start")]),t._v(" "),r("td",[r("code",[t._v("number")])]),t._v(" "),r("td",[t._v("The zero-based index number indicating the beginning of the substring.")])]),t._v(" "),r("tr",[r("td",[r("code",[t._v("Optional")]),t._v(" end")]),t._v(" "),r("td",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("number")])]),t._v(" "),r("td",[t._v("Zero-based index number indicating the end of the substring. The substring includes the characters up to, but not including, the character indicated by end. If end is omitted, the characters from start through the end of the original string are returned.")])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"sup"}})]),t._v(" "),r("h2",{attrs:{id:"sup"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#sup","aria-hidden":"true"}},[t._v("#")]),t._v(" sup")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("sup")]),t._v("(): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.sup")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:493")])]),t._v(" "),r("p",[t._v("Returns a HTML element")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"tohex"}})]),t._v(" "),r("h2",{attrs:{id:"tohex"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#tohex","aria-hidden":"true"}},[t._v("#")]),t._v(" toHex")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("toHex")]),t._v("(): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Implementation of "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[t._v("Codec")]),t._v("."),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html#tohex"}},[t._v("toHex")])],1)]),t._v(" "),r("p",[r("em",[t._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_primitive_text_.text.html"}},[t._v("Text")]),t._v("."),r("router-link",{attrs:{to:"/types/classes/_primitive_text_.text.html#tohex"}},[t._v("toHex")])],1)]),t._v(" "),r("p",[r("em",[t._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/primitive/Text.ts#L76",target:"_blank",rel:"noopener noreferrer"}},[t._v("primitive/Text.ts:76"),r("OutboundLink")],1)])]),t._v(" "),r("p",[r("em",[r("strong",[t._v("description")])]),t._v(": Returns a hex string representation of the value")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"tojson"}})]),t._v(" "),r("h2",{attrs:{id:"tojson"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#tojson","aria-hidden":"true"}},[t._v("#")]),t._v(" toJSON")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("toJSON")]),t._v("(): "),r("code",[t._v("any")])]),t._v(" "),r("p",[r("em",[t._v("Implementation of "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[t._v("Codec")]),t._v("."),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html#tojson"}},[t._v("toJSON")])],1)]),t._v(" "),r("p",[r("em",[t._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_primitive_text_.text.html"}},[t._v("Text")]),t._v("."),r("router-link",{attrs:{to:"/types/classes/_primitive_text_.text.html#tojson"}},[t._v("toJSON")])],1)]),t._v(" "),r("p",[r("em",[t._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/primitive/Text.ts#L83",target:"_blank",rel:"noopener noreferrer"}},[t._v("primitive/Text.ts:83"),r("OutboundLink")],1)])]),t._v(" "),r("p",[r("em",[r("strong",[t._v("description")])]),t._v(": Converts the Object to JSON, typically used for RPC transfers")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("any")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"tolocalelowercase"}})]),t._v(" "),r("h2",{attrs:{id:"tolocalelowercase"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#tolocalelowercase","aria-hidden":"true"}},[t._v("#")]),t._v(" toLocaleLowerCase")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("toLocaleLowerCase")]),t._v("(): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.toLocaleLowerCase")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:489")])]),t._v(" "),r("p",[t._v("Converts all alphabetic characters to lowercase, taking into account the host environment's current locale.")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"tolocaleuppercase"}})]),t._v(" "),r("h2",{attrs:{id:"tolocaleuppercase"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#tolocaleuppercase","aria-hidden":"true"}},[t._v("#")]),t._v(" toLocaleUpperCase")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("toLocaleUpperCase")]),t._v("(): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.toLocaleUpperCase")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:495")])]),t._v(" "),r("p",[t._v("Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale.")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"tolowercase"}})]),t._v(" "),r("h2",{attrs:{id:"tolowercase"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#tolowercase","aria-hidden":"true"}},[t._v("#")]),t._v(" toLowerCase")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("toLowerCase")]),t._v("(): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.toLowerCase")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:486")])]),t._v(" "),r("p",[t._v("Converts all the alphabetic characters in a string to lowercase.")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"tostring"}})]),t._v(" "),r("h2",{attrs:{id:"tostring"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#tostring","aria-hidden":"true"}},[t._v("#")]),t._v(" toString")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("toString")]),t._v("(): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Implementation of "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[t._v("Codec")]),t._v("."),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html#tostring"}},[t._v("toString")])],1)]),t._v(" "),r("p",[r("em",[t._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_primitive_text_.text.html"}},[t._v("Text")]),t._v("."),r("router-link",{attrs:{to:"/types/classes/_primitive_text_.text.html#tostring"}},[t._v("toString")])],1)]),t._v(" "),r("p",[r("em",[t._v("Overrides String.toString")])]),t._v(" "),r("p",[r("em",[t._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/primitive/Text.ts#L90",target:"_blank",rel:"noopener noreferrer"}},[t._v("primitive/Text.ts:90"),r("OutboundLink")],1)])]),t._v(" "),r("p",[r("em",[r("strong",[t._v("description")])]),t._v(": Returns the string representation of the value")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"tou8a"}})]),t._v(" "),r("h2",{attrs:{id:"tou8a"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#tou8a","aria-hidden":"true"}},[t._v("#")]),t._v(" toU8a")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("toU8a")]),t._v("(isBare?: "),r("em",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("false")]),t._v(" | "),r("code",[t._v("true")])]),t._v("): "),r("code",[t._v("Uint8Array")])]),t._v(" "),r("p",[r("em",[t._v("Implementation of "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[t._v("Codec")]),t._v("."),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html#tou8a"}},[t._v("toU8a")])],1)]),t._v(" "),r("p",[r("em",[t._v("Overrides "),r("router-link",{attrs:{to:"/types/classes/_primitive_text_.text.html"}},[t._v("Text")]),t._v("."),r("router-link",{attrs:{to:"/types/classes/_primitive_text_.text.html#tou8a"}},[t._v("toU8a")])],1)]),t._v(" "),r("p",[r("em",[t._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/primitive/Type.ts#L87",target:"_blank",rel:"noopener noreferrer"}},[t._v("primitive/Type.ts:87"),r("OutboundLink")],1)])]),t._v(" "),r("p",[r("em",[r("strong",[t._v("description")])]),t._v(": Encodes the value as a Uint8Array as per the parity-codec specifications")]),t._v(" "),r("p",[r("strong",[t._v("Parameters:")])]),t._v(" "),r("table",[r("thead",[r("tr",[r("th",[t._v("Name")]),t._v(" "),r("th",[t._v("Type")]),t._v(" "),r("th",[t._v("Description")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[r("code",[t._v("Optional")]),t._v(" isBare")]),t._v(" "),r("td",[r("code",[t._v("undefined")]),t._v(" | "),r("code",[t._v("false")]),t._v(" | "),r("code",[t._v("true")])]),t._v(" "),r("td",[t._v("true when the value has none of the type-specific prefixes (internal)")])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("Uint8Array")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"touppercase"}})]),t._v(" "),r("h2",{attrs:{id:"touppercase"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#touppercase","aria-hidden":"true"}},[t._v("#")]),t._v(" toUpperCase")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("toUpperCase")]),t._v("(): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.toUpperCase")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:492")])]),t._v(" "),r("p",[t._v("Converts all the alphabetic characters in a string to uppercase.")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"trim"}})]),t._v(" "),r("h2",{attrs:{id:"trim"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#trim","aria-hidden":"true"}},[t._v("#")]),t._v(" trim")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("trim")]),t._v("(): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.trim")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:498")])]),t._v(" "),r("p",[t._v("Removes the leading and trailing white space and line terminator characters from a string.")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"trimleft"}})]),t._v(" "),r("h2",{attrs:{id:"trimleft"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#trimleft","aria-hidden":"true"}},[t._v("#")]),t._v(" trimLeft")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("trimLeft")]),t._v("(): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.trimLeft")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/@types/node/globals.d.ts:152")])]),t._v(" "),r("p",[t._v("Removes whitespace from the left end of a string.")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"trimright"}})]),t._v(" "),r("h2",{attrs:{id:"trimright"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#trimright","aria-hidden":"true"}},[t._v("#")]),t._v(" trimRight")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("trimRight")]),t._v("(): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.trimRight")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/@types/node/globals.d.ts:154")])]),t._v(" "),r("p",[t._v("Removes whitespace from the right end of a string.")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"valueof"}})]),t._v(" "),r("h2",{attrs:{id:"valueof"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#valueof","aria-hidden":"true"}},[t._v("#")]),t._v(" valueOf")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("valueOf")]),t._v("(): "),r("code",[t._v("string")])]),t._v(" "),r("p",[r("em",[t._v("Inherited from String.valueOf")])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:512")])]),t._v(" "),r("p",[t._v("Returns the primitive value of the specified object.")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("string")])]),t._v(" "),r("hr")])},[],!1,null,null,null);e.default=_.exports}}]); |