Files
api/docs/assets/js/304.13c38111.js
T
2019-02-26 15:22:01 +00:00

1 line
85 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(window.webpackJsonp=window.webpackJsonp||[]).push([[304],{305:function(e,t,r){"use strict";r.r(t);var _=r(46),v=Object(_.a)({},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("p",[r("em",[r("strong",[e._v("name")])]),e._v(": RuntimeVersionApi")]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": A "),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html"}},[e._v("Tuple")]),e._v(" that conatins the "),r("router-link",{attrs:{to:"/types/classes/_type_runtimeversion_.apiid.html"}},[e._v("ApiId")]),e._v(" and "),r("router-link",{attrs:{to:"/types/classes/_primitive_u32_.u32.html"}},[e._v("U32")]),e._v(" version")],1),e._v(" "),r("h1",{attrs:{id:"hierarchy"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#hierarchy","aria-hidden":"true"}},[e._v("#")]),e._v(" Hierarchy")]),e._v(" "),r("p",[e._v("↳ "),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html"}},[e._v("Tuple")])],1),e._v(" "),r("p",[r("strong",[e._v("↳ RuntimeVersionApi")])]),e._v(" "),r("h1",{attrs:{id:"implements"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#implements","aria-hidden":"true"}},[e._v("#")]),e._v(" Implements")]),e._v(" "),r("ul",[r("li",[r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1)]),e._v(" "),r("h1",{attrs:{id:"indexable"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#indexable","aria-hidden":"true"}},[e._v("#")]),e._v(" Indexable")]),e._v(" "),r("p",[e._v("[n: "),r("code",[e._v("number")]),e._v("]: "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1),e._v(" "),r("h1",{attrs:{id:"constructors"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#constructors","aria-hidden":"true"}},[e._v("#")]),e._v(" Constructors")]),e._v(" "),r("p",[r("a",{attrs:{id:"constructor"}})]),e._v(" "),r("h2",{attrs:{id:"constructor"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#constructor","aria-hidden":"true"}},[e._v("#")]),e._v(" constructor")]),e._v(" "),r("p",[e._v("⊕ "),r("strong",[e._v("new RuntimeVersionApi")]),e._v("(value?: "),r("em",[r("code",[e._v("RuntimeVersionApiValue")]),e._v(" | "),r("code",[e._v("Uint8Array")])]),e._v("): "),r("router-link",{attrs:{to:"/types/classes/_type_runtimeversion_.runtimeversionapi.html"}},[e._v("RuntimeVersionApi")])],1),e._v(" "),r("p",[r("em",[e._v("Overrides "),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html"}},[e._v("Tuple")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html#constructor"}},[e._v("constructor")])],1)]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/type/RuntimeVersion.ts#L35",target:"_blank",rel:"noopener noreferrer"}},[e._v("type/RuntimeVersion.ts:35"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" value")]),e._v(" "),r("td",[r("code",[e._v("RuntimeVersionApiValue")]),e._v(" | "),r("code",[e._v("Uint8Array")])])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("router-link",{attrs:{to:"/types/classes/_type_runtimeversion_.runtimeversionapi.html"}},[e._v("RuntimeVersionApi")])],1),e._v(" "),r("hr"),e._v(" "),r("h1",{attrs:{id:"properties"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#properties","aria-hidden":"true"}},[e._v("#")]),e._v(" Properties")]),e._v(" "),r("p",[r("a",{attrs:{id:"length"}})]),e._v(" "),r("h2",{attrs:{id:"length"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#length","aria-hidden":"true"}},[e._v("#")]),e._v(" length")]),e._v(" "),r("p",[r("strong",[e._v("● length")]),e._v(": "),r("em",[r("code",[e._v("number")])])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.length")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1209")])]),e._v(" "),r("p",[e._v("Gets or sets the length of the array. This is a number one higher than the highest element defined in an array.")]),e._v(" "),r("hr"),e._v(" "),r("h1",{attrs:{id:"accessors"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#accessors","aria-hidden":"true"}},[e._v("#")]),e._v(" Accessors")]),e._v(" "),r("p",[r("a",{attrs:{id:"types"}})]),e._v(" "),r("h2",{attrs:{id:"types"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#types","aria-hidden":"true"}},[e._v("#")]),e._v(" Types")]),e._v(" "),r("p",[r("strong",[e._v("get Types")]),e._v("(): "),r("code",[e._v("Array")]),e._v("<"),r("code",[e._v("string")]),e._v(">")]),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html"}},[e._v("Tuple")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html#types"}},[e._v("Types")])],1)]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/codec/Tuple.ts#L75",target:"_blank",rel:"noopener noreferrer"}},[e._v("codec/Tuple.ts:75"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": The types definition of the tuple")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("Array")]),e._v("<"),r("code",[e._v("string")]),e._v(">")]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"encodedlength"}})]),e._v(" "),r("h2",{attrs:{id:"encodedlength"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#encodedlength","aria-hidden":"true"}},[e._v("#")]),e._v(" encodedLength")]),e._v(" "),r("p",[r("strong",[e._v("get encodedLength")]),e._v("(): "),r("code",[e._v("number")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html"}},[e._v("Tuple")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html#encodedlength"}},[e._v("encodedLength")])],1)]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/codec/Tuple.ts#L59",target:"_blank",rel:"noopener noreferrer"}},[e._v("codec/Tuple.ts:59"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": The length of the value when encoded as a Uint8Array")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("number")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"id"}})]),e._v(" "),r("h2",{attrs:{id:"id"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#id","aria-hidden":"true"}},[e._v("#")]),e._v(" id")]),e._v(" "),r("p",[r("strong",[e._v("get id")]),e._v("(): "),r("router-link",{attrs:{to:"/types/classes/_type_runtimeversion_.apiid.html"}},[e._v("ApiId")])],1),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/type/RuntimeVersion.ts#L46",target:"_blank",rel:"noopener noreferrer"}},[e._v("type/RuntimeVersion.ts:46"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": The "),r("router-link",{attrs:{to:"/types/classes/_type_runtimeversion_.apiid.html"}},[e._v("ApiId")])],1),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("router-link",{attrs:{to:"/types/classes/_type_runtimeversion_.apiid.html"}},[e._v("ApiId")])],1),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"isempty"}})]),e._v(" "),r("h2",{attrs:{id:"isempty"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#isempty","aria-hidden":"true"}},[e._v("#")]),e._v(" isEmpty")]),e._v(" "),r("p",[r("strong",[e._v("get isEmpty")]),e._v("(): "),r("code",[e._v("boolean")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html"}},[e._v("Tuple")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html#isempty"}},[e._v("isEmpty")])],1)]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/codec/Tuple.ts#L68",target:"_blank",rel:"noopener noreferrer"}},[e._v("codec/Tuple.ts:68"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": Checks if the value is an empty value")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("boolean")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"version"}})]),e._v(" "),r("h2",{attrs:{id:"version"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#version","aria-hidden":"true"}},[e._v("#")]),e._v(" version")]),e._v(" "),r("p",[r("strong",[e._v("get version")]),e._v("(): "),r("router-link",{attrs:{to:"/types/classes/_primitive_u32_.u32.html"}},[e._v("U32")])],1),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/type/RuntimeVersion.ts#L53",target:"_blank",rel:"noopener noreferrer"}},[e._v("type/RuntimeVersion.ts:53"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": The specific version as "),r("router-link",{attrs:{to:"/types/classes/_primitive_u32_.u32.html"}},[e._v("U32")])],1),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("router-link",{attrs:{to:"/types/classes/_primitive_u32_.u32.html"}},[e._v("U32")])],1),e._v(" "),r("hr"),e._v(" "),r("h1",{attrs:{id:"methods"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#methods","aria-hidden":"true"}},[e._v("#")]),e._v(" Methods")]),e._v(" "),r("p",[r("a",{attrs:{id:"___iterator"}})]),e._v(" "),r("h2",{attrs:{id:"iterator"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#iterator","aria-hidden":"true"}},[e._v("#")]),e._v(" __@iterator")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("__@iterator")]),e._v("(): "),r("code",[e._v("IterableIterator")]),e._v("<"),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v(">")],1),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.[Symbol.iterator]")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.iterable.d.ts:52")])]),e._v(" "),r("p",[e._v("Iterator")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("IterableIterator")]),e._v("<"),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v(">")],1),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"___unscopables"}})]),e._v(" "),r("h2",{attrs:{id:"unscopables"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#unscopables","aria-hidden":"true"}},[e._v("#")]),e._v(" __@unscopables")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("__@unscopables")]),e._v("(): "),r("code",[e._v("object")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.[Symbol.unscopables]")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:94")])]),e._v(" "),r("p",[e._v("Returns an object whose properties have the value 'true' when they will be absent when used in a 'with' statement.")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("object")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"concat"}})]),e._v(" "),r("h2",{attrs:{id:"concat"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#concat","aria-hidden":"true"}},[e._v("#")]),e._v(" concat")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("concat")]),e._v("(...items: "),r("em",[r("code",[e._v("ConcatArray")]),e._v("<"),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v(">[]")],1),e._v("): "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("[]")],1),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("concat")]),e._v("(...items: "),r("em",[e._v("("),r("code",[e._v("T")]),e._v(" | "),r("code",[e._v("ConcatArray")]),e._v("<"),r("code",[e._v("T")]),e._v(">)[]")]),e._v("): "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("[]")],1),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.concat")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1231")])]),e._v(" "),r("p",[e._v("Combines two or more arrays.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[r("code",[e._v("Rest")]),e._v(" items")]),e._v(" "),r("td",[r("code",[e._v("ConcatArray")]),e._v("<"),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v(">[]")],1),e._v(" "),r("td",[e._v("Additional items to add to the end of array1.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("[]")],1),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.concat")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1236")])]),e._v(" "),r("p",[e._v("Combines two or more arrays.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[r("code",[e._v("Rest")]),e._v(" items")]),e._v(" "),r("td",[e._v("("),r("code",[e._v("T")]),e._v(" | "),r("code",[e._v("ConcatArray")]),e._v("<"),r("code",[e._v("T")]),e._v(">)[]")]),e._v(" "),r("td",[e._v("Additional items to add to the end of array1.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("[]")],1),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"copywithin"}})]),e._v(" "),r("h2",{attrs:{id:"copywithin"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#copywithin","aria-hidden":"true"}},[e._v("#")]),e._v(" copyWithin")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("copyWithin")]),e._v("(target: "),r("em",[r("code",[e._v("number")])]),e._v(", start: "),r("em",[r("code",[e._v("number")])]),e._v(", end?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v("): "),r("code",[e._v("this")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.copyWithin")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:64")])]),e._v(" "),r("p",[e._v("Returns the this object after copying a section of the array identified by start and end to the same array starting at position target")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("target")]),e._v(" "),r("td",[r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("If target is negative, it is treated as length+target where length is the length of the array.")])]),e._v(" "),r("tr",[r("td",[e._v("start")]),e._v(" "),r("td",[r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("If start is negative, it is treated as length+start. If end is negative, it is treated as length+end.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" end")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("If not specified, length of the this object is used as its default value.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("this")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"entries"}})]),e._v(" "),r("h2",{attrs:{id:"entries"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#entries","aria-hidden":"true"}},[e._v("#")]),e._v(" entries")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("entries")]),e._v("(): "),r("code",[e._v("IterableIterator")]),e._v("<["),r("code",[e._v("number")]),e._v(", "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("]>")],1),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.entries")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.iterable.d.ts:57")])]),e._v(" "),r("p",[e._v("Returns an iterable of key, value pairs for every entry in the array")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("IterableIterator")]),e._v("<["),r("code",[e._v("number")]),e._v(", "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("]>")],1),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"eq"}})]),e._v(" "),r("h2",{attrs:{id:"eq"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#eq","aria-hidden":"true"}},[e._v("#")]),e._v(" eq")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("eq")]),e._v("(other?: "),r("em",[r("code",[e._v("any")])]),e._v("): "),r("code",[e._v("boolean")])]),e._v(" "),r("p",[r("em",[e._v("Implementation of "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("."),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html#eq"}},[e._v("eq")])],1)]),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html"}},[e._v("Tuple")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html#eq"}},[e._v("eq")])],1)]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/codec/Tuple.ts#L84",target:"_blank",rel:"noopener noreferrer"}},[e._v("codec/Tuple.ts:84"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": Compares the value of the input to see if there is a match")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" other")]),e._v(" "),r("td",[r("code",[e._v("any")])])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("boolean")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"every"}})]),e._v(" "),r("h2",{attrs:{id:"every"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#every","aria-hidden":"true"}},[e._v("#")]),e._v(" every")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("every")]),e._v("(callbackfn: "),r("em",[r("code",[e._v("function")])]),e._v(", thisArg?: "),r("em",[r("code",[e._v("any")])]),e._v("): "),r("code",[e._v("boolean")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.every")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1296")])]),e._v(" "),r("p",[e._v("Determines whether all the members of an array satisfy the specified test.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callbackfn")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("A function that accepts up to three arguments. The every method calls the callbackfn function for each element in array1 until the callbackfn returns false, or until the end of the array.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" thisArg")]),e._v(" "),r("td",[r("code",[e._v("any")])]),e._v(" "),r("td",[e._v("An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("boolean")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"fill"}})]),e._v(" "),r("h2",{attrs:{id:"fill"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#fill","aria-hidden":"true"}},[e._v("#")]),e._v(" fill")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("fill")]),e._v("(value: "),r("em",[r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1),e._v(", start?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(", end?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v("): "),r("code",[e._v("this")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.fill")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:53")])]),e._v(" "),r("p",[e._v("Returns the this object after filling the section identified by start and end with value")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("value")]),e._v(" "),r("td",[r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1),e._v(" "),r("td",[e._v("value to fill array section with")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" start")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("index to start filling the array at. If start is negative, it is treated as length+start where length is the length of the array.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" end")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("index to stop filling the array at. If end is negative, it is treated as length+end.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("this")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"filter"}})]),e._v(" "),r("h2",{attrs:{id:"filter"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#filter","aria-hidden":"true"}},[e._v("#")]),e._v(" filter")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("filter")]),e._v("(callbackfn: "),r("em",[r("code",[e._v("function")])]),e._v(", thisArg?: "),r("em",[r("code",[e._v("any")])]),e._v("): "),r("code",[e._v("Array")]),e._v("<"),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v(">")],1),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html"}},[e._v("Tuple")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html#filter"}},[e._v("filter")])],1)]),e._v(" "),r("p",[r("em",[e._v("Overrides Array.filter")])]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/codec/Tuple.ts#L140",target:"_blank",rel:"noopener noreferrer"}},[e._v("codec/Tuple.ts:140"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": Filters the array with the callback")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callbackfn")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("The filter function")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" thisArg")]),e._v(" "),r("td",[r("code",[e._v("any")])]),e._v(" "),r("td",[e._v("The `this` object to apply the result to")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("Array")]),e._v("<"),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v(">")],1),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"find"}})]),e._v(" "),r("h2",{attrs:{id:"find"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#find","aria-hidden":"true"}},[e._v("#")]),e._v(" find")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("find")]),e._v("<"),r("code",[e._v("S")]),e._v(">(predicate: "),r("em",[r("code",[e._v("function")])]),e._v(", thisArg?: "),r("em",[r("code",[e._v("any")])]),e._v("): "),r("code",[e._v("S")]),e._v(" | "),r("code",[e._v("undefined")])]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("find")]),e._v("(predicate: "),r("em",[r("code",[e._v("function")])]),e._v(", thisArg?: "),r("em",[r("code",[e._v("any")])]),e._v("): "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v(" | "),r("code",[e._v("undefined")])],1),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.find")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:31")])]),e._v(" "),r("p",[e._v("Returns the value of the first element in the array where predicate is true, and undefined otherwise.")]),e._v(" "),r("p",[r("strong",[e._v("Type parameters:")])]),e._v(" "),r("h4",{attrs:{id:"s-codec"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#s-codec","aria-hidden":"true"}},[e._v("#")]),e._v(" S : "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("predicate")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("find calls predicate once for each element of the array, in ascending order, until it finds one where predicate returns true. If such an element is found, find immediately returns that element value. Otherwise, find returns undefined.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" thisArg")]),e._v(" "),r("td",[r("code",[e._v("any")])]),e._v(" "),r("td",[e._v("If provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("S")]),e._v(" | "),r("code",[e._v("undefined")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.find")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:32")])]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("predicate")]),e._v(" "),r("td",[r("code",[e._v("function")])])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" thisArg")]),e._v(" "),r("td",[r("code",[e._v("any")])])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v(" | "),r("code",[e._v("undefined")])],1),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"findindex"}})]),e._v(" "),r("h2",{attrs:{id:"findindex"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#findindex","aria-hidden":"true"}},[e._v("#")]),e._v(" findIndex")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("findIndex")]),e._v("(predicate: "),r("em",[r("code",[e._v("function")])]),e._v(", thisArg?: "),r("em",[r("code",[e._v("any")])]),e._v("): "),r("code",[e._v("number")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.findIndex")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.core.d.ts:43")])]),e._v(" "),r("p",[e._v("Returns the index of the first element in the array where predicate is true, and -1 otherwise.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("predicate")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("find calls predicate once for each element of the array, in ascending order, until it finds one where predicate returns true. If such an element is found, findIndex immediately returns that element index. Otherwise, findIndex returns -1.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" thisArg")]),e._v(" "),r("td",[r("code",[e._v("any")])]),e._v(" "),r("td",[e._v("If provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("number")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"flat"}})]),e._v(" "),r("h2",{attrs:{id:"flat"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#flat","aria-hidden":"true"}},[e._v("#")]),e._v(" flat")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("flat")]),e._v("<"),r("code",[e._v("U")]),e._v(">(this: "),r("em",[r("code",[e._v("U")]),e._v("[][][][][][][][]")]),e._v(", depth: "),r("em",[r("code",[e._v("7")])]),e._v("): "),r("code",[e._v("U")]),e._v("[]")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("flat")]),e._v("<"),r("code",[e._v("U")]),e._v(">(this: "),r("em",[r("code",[e._v("U")]),e._v("[][][][][][][]")]),e._v(", depth: "),r("em",[r("code",[e._v("6")])]),e._v("): "),r("code",[e._v("U")]),e._v("[]")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("flat")]),e._v("<"),r("code",[e._v("U")]),e._v(">(this: "),r("em",[r("code",[e._v("U")]),e._v("[][][][][][]")]),e._v(", depth: "),r("em",[r("code",[e._v("5")])]),e._v("): "),r("code",[e._v("U")]),e._v("[]")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("flat")]),e._v("<"),r("code",[e._v("U")]),e._v(">(this: "),r("em",[r("code",[e._v("U")]),e._v("[][][][][]")]),e._v(", depth: "),r("em",[r("code",[e._v("4")])]),e._v("): "),r("code",[e._v("U")]),e._v("[]")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("flat")]),e._v("<"),r("code",[e._v("U")]),e._v(">(this: "),r("em",[r("code",[e._v("U")]),e._v("[][][][]")]),e._v(", depth: "),r("em",[r("code",[e._v("3")])]),e._v("): "),r("code",[e._v("U")]),e._v("[]")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("flat")]),e._v("<"),r("code",[e._v("U")]),e._v(">(this: "),r("em",[r("code",[e._v("U")]),e._v("[][][]")]),e._v(", depth: "),r("em",[r("code",[e._v("2")])]),e._v("): "),r("code",[e._v("U")]),e._v("[]")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("flat")]),e._v("<"),r("code",[e._v("U")]),e._v(">(this: "),r("em",[r("code",[e._v("U")]),e._v("[][]")]),e._v(", depth?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("1")])]),e._v("): "),r("code",[e._v("U")]),e._v("[]")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("flat")]),e._v("<"),r("code",[e._v("U")]),e._v(">(this: "),r("em",[r("code",[e._v("U")]),e._v("[]")]),e._v(", depth: "),r("em",[r("code",[e._v("0")])]),e._v("): "),r("code",[e._v("U")]),e._v("[]")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("flat")]),e._v("<"),r("code",[e._v("U")]),e._v(">(depth?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v("): "),r("code",[e._v("any")]),e._v("[]")]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.flat")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.esnext.array.d.ts:158")])]),e._v(" "),r("p",[e._v("Returns a new array with all sub-array elements concatenated into it recursively up to the specified depth.")]),e._v(" "),r("p",[r("strong",[e._v("Type parameters:")])]),e._v(" "),r("h4",{attrs:{id:"u"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#u","aria-hidden":"true"}},[e._v("#")]),e._v(" U")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("this")]),e._v(" "),r("td",[r("code",[e._v("U")]),e._v("[][][][][][][][]")]),e._v(" "),r("td")]),e._v(" "),r("tr",[r("td",[e._v("depth")]),e._v(" "),r("td",[r("code",[e._v("7")])]),e._v(" "),r("td",[e._v("The maximum recursion depth")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("U")]),e._v("[]")]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.flat")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.esnext.array.d.ts:166")])]),e._v(" "),r("p",[e._v("Returns a new array with all sub-array elements concatenated into it recursively up to the specified depth.")]),e._v(" "),r("p",[r("strong",[e._v("Type parameters:")])]),e._v(" "),r("h4",{attrs:{id:"u-2"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#u-2","aria-hidden":"true"}},[e._v("#")]),e._v(" U")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("this")]),e._v(" "),r("td",[r("code",[e._v("U")]),e._v("[][][][][][][]")]),e._v(" "),r("td")]),e._v(" "),r("tr",[r("td",[e._v("depth")]),e._v(" "),r("td",[r("code",[e._v("6")])]),e._v(" "),r("td",[e._v("The maximum recursion depth")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("U")]),e._v("[]")]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.flat")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.esnext.array.d.ts:174")])]),e._v(" "),r("p",[e._v("Returns a new array with all sub-array elements concatenated into it recursively up to the specified depth.")]),e._v(" "),r("p",[r("strong",[e._v("Type parameters:")])]),e._v(" "),r("h4",{attrs:{id:"u-3"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#u-3","aria-hidden":"true"}},[e._v("#")]),e._v(" U")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("this")]),e._v(" "),r("td",[r("code",[e._v("U")]),e._v("[][][][][][]")]),e._v(" "),r("td")]),e._v(" "),r("tr",[r("td",[e._v("depth")]),e._v(" "),r("td",[r("code",[e._v("5")])]),e._v(" "),r("td",[e._v("The maximum recursion depth")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("U")]),e._v("[]")]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.flat")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.esnext.array.d.ts:182")])]),e._v(" "),r("p",[e._v("Returns a new array with all sub-array elements concatenated into it recursively up to the specified depth.")]),e._v(" "),r("p",[r("strong",[e._v("Type parameters:")])]),e._v(" "),r("h4",{attrs:{id:"u-4"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#u-4","aria-hidden":"true"}},[e._v("#")]),e._v(" U")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("this")]),e._v(" "),r("td",[r("code",[e._v("U")]),e._v("[][][][][]")]),e._v(" "),r("td")]),e._v(" "),r("tr",[r("td",[e._v("depth")]),e._v(" "),r("td",[r("code",[e._v("4")])]),e._v(" "),r("td",[e._v("The maximum recursion depth")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("U")]),e._v("[]")]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.flat")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.esnext.array.d.ts:190")])]),e._v(" "),r("p",[e._v("Returns a new array with all sub-array elements concatenated into it recursively up to the specified depth.")]),e._v(" "),r("p",[r("strong",[e._v("Type parameters:")])]),e._v(" "),r("h4",{attrs:{id:"u-5"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#u-5","aria-hidden":"true"}},[e._v("#")]),e._v(" U")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("this")]),e._v(" "),r("td",[r("code",[e._v("U")]),e._v("[][][][]")]),e._v(" "),r("td")]),e._v(" "),r("tr",[r("td",[e._v("depth")]),e._v(" "),r("td",[r("code",[e._v("3")])]),e._v(" "),r("td",[e._v("The maximum recursion depth")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("U")]),e._v("[]")]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.flat")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.esnext.array.d.ts:198")])]),e._v(" "),r("p",[e._v("Returns a new array with all sub-array elements concatenated into it recursively up to the specified depth.")]),e._v(" "),r("p",[r("strong",[e._v("Type parameters:")])]),e._v(" "),r("h4",{attrs:{id:"u-6"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#u-6","aria-hidden":"true"}},[e._v("#")]),e._v(" U")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("this")]),e._v(" "),r("td",[r("code",[e._v("U")]),e._v("[][][]")]),e._v(" "),r("td")]),e._v(" "),r("tr",[r("td",[e._v("depth")]),e._v(" "),r("td",[r("code",[e._v("2")])]),e._v(" "),r("td",[e._v("The maximum recursion depth")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("U")]),e._v("[]")]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.flat")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.esnext.array.d.ts:206")])]),e._v(" "),r("p",[e._v("Returns a new array with all sub-array elements concatenated into it recursively up to the specified depth.")]),e._v(" "),r("p",[r("strong",[e._v("Type parameters:")])]),e._v(" "),r("h4",{attrs:{id:"u-7"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#u-7","aria-hidden":"true"}},[e._v("#")]),e._v(" U")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("this")]),e._v(" "),r("td",[r("code",[e._v("U")]),e._v("[][]")]),e._v(" "),r("td")]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" depth")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("1")])]),e._v(" "),r("td",[e._v("The maximum recursion depth")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("U")]),e._v("[]")]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.flat")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.esnext.array.d.ts:214")])]),e._v(" "),r("p",[e._v("Returns a new array with all sub-array elements concatenated into it recursively up to the specified depth.")]),e._v(" "),r("p",[r("strong",[e._v("Type parameters:")])]),e._v(" "),r("h4",{attrs:{id:"u-8"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#u-8","aria-hidden":"true"}},[e._v("#")]),e._v(" U")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("this")]),e._v(" "),r("td",[r("code",[e._v("U")]),e._v("[]")]),e._v(" "),r("td")]),e._v(" "),r("tr",[r("td",[e._v("depth")]),e._v(" "),r("td",[r("code",[e._v("0")])]),e._v(" "),r("td",[e._v("The maximum recursion depth")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("U")]),e._v("[]")]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.flat")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.esnext.array.d.ts:222")])]),e._v(" "),r("p",[e._v("Returns a new array with all sub-array elements concatenated into it recursively up to the specified depth. If no depth is provided, flat method defaults to the depth of 1.")]),e._v(" "),r("p",[r("strong",[e._v("Type parameters:")])]),e._v(" "),r("h4",{attrs:{id:"u-9"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#u-9","aria-hidden":"true"}},[e._v("#")]),e._v(" U")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" depth")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("The maximum recursion depth")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("any")]),e._v("[]")]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"flatmap"}})]),e._v(" "),r("h2",{attrs:{id:"flatmap"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#flatmap","aria-hidden":"true"}},[e._v("#")]),e._v(" flatMap")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("flatMap")]),e._v("<"),r("code",[e._v("U")]),e._v(","),r("code",[e._v("This")]),e._v(">(callback: "),r("em",[r("code",[e._v("function")])]),e._v(", thisArg?: "),r("em",[r("a",{attrs:{href:""}},[e._v("This")])]),e._v("): "),r("code",[e._v("U")]),e._v("[]")]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.flatMap")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.esnext.array.d.ts:147")])]),e._v(" "),r("p",[e._v("Calls a defined callback function on each element of an array. Then, flattens the result into a new array. This is identical to a map followed by flat with depth 1.")]),e._v(" "),r("p",[r("strong",[e._v("Type parameters:")])]),e._v(" "),r("h4",{attrs:{id:"u-10"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#u-10","aria-hidden":"true"}},[e._v("#")]),e._v(" U")]),e._v(" "),r("h4",{attrs:{id:"this"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#this","aria-hidden":"true"}},[e._v("#")]),e._v(" This")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callback")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("A function that accepts up to three arguments. The flatMap method calls the callback function one time for each element in the array.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" thisArg")]),e._v(" "),r("td",[r("a",{attrs:{href:""}},[e._v("This")])]),e._v(" "),r("td",[e._v("An object to which the this keyword can refer in the callback function. If thisArg is omitted, undefined is used as the this value.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("U")]),e._v("[]")]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"foreach"}})]),e._v(" "),r("h2",{attrs:{id:"foreach"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#foreach","aria-hidden":"true"}},[e._v("#")]),e._v(" forEach")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("forEach")]),e._v("(callbackfn: "),r("em",[r("code",[e._v("function")])]),e._v(", thisArg?: "),r("em",[r("code",[e._v("any")])]),e._v("): "),r("code",[e._v("void")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.forEach")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1308")])]),e._v(" "),r("p",[e._v("Performs the specified action for each element in an array.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callbackfn")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" thisArg")]),e._v(" "),r("td",[r("code",[e._v("any")])]),e._v(" "),r("td",[e._v("An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("void")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"includes"}})]),e._v(" "),r("h2",{attrs:{id:"includes"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#includes","aria-hidden":"true"}},[e._v("#")]),e._v(" includes")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("includes")]),e._v("(searchElement: "),r("em",[r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1),e._v(", fromIndex?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v("): "),r("code",[e._v("boolean")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.includes")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2016.array.include.d.ts:27")])]),e._v(" "),r("p",[e._v("Determines whether an array includes a certain element, returning true or false as appropriate.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("searchElement")]),e._v(" "),r("td",[r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1),e._v(" "),r("td",[e._v("The element to search for.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" fromIndex")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("The position in this array at which to begin searching for searchElement.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("boolean")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"indexof"}})]),e._v(" "),r("h2",{attrs:{id:"indexof"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#indexof","aria-hidden":"true"}},[e._v("#")]),e._v(" indexOf")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("indexOf")]),e._v("(searchElement: "),r("em",[r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1),e._v(", fromIndex?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v("): "),r("code",[e._v("number")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.indexOf")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1284")])]),e._v(" "),r("p",[e._v("Returns the index of the first occurrence of a value in an array.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("searchElement")]),e._v(" "),r("td",[r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1),e._v(" "),r("td",[e._v("The value to locate in the array.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" fromIndex")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("number")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"join"}})]),e._v(" "),r("h2",{attrs:{id:"join"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#join","aria-hidden":"true"}},[e._v("#")]),e._v(" join")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("join")]),e._v("(separator?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("string")])]),e._v("): "),r("code",[e._v("string")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.join")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1241")])]),e._v(" "),r("p",[e._v("Adds all the elements of an array separated by the specified separator string.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" separator")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("string")])]),e._v(" "),r("td",[e._v("A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("string")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"keys"}})]),e._v(" "),r("h2",{attrs:{id:"keys"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#keys","aria-hidden":"true"}},[e._v("#")]),e._v(" keys")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("keys")]),e._v("(): "),r("code",[e._v("IterableIterator")]),e._v("<"),r("code",[e._v("number")]),e._v(">")]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.keys")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.iterable.d.ts:62")])]),e._v(" "),r("p",[e._v("Returns an iterable of keys in the array")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("IterableIterator")]),e._v("<"),r("code",[e._v("number")]),e._v(">")]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"lastindexof"}})]),e._v(" "),r("h2",{attrs:{id:"lastindexof"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#lastindexof","aria-hidden":"true"}},[e._v("#")]),e._v(" lastIndexOf")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("lastIndexOf")]),e._v("(searchElement: "),r("em",[r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1),e._v(", fromIndex?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v("): "),r("code",[e._v("number")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.lastIndexOf")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1290")])]),e._v(" "),r("p",[e._v("Returns the index of the last occurrence of a specified value in an array.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("searchElement")]),e._v(" "),r("td",[r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1),e._v(" "),r("td",[e._v("The value to locate in the array.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" fromIndex")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("The array index at which to begin the search. If fromIndex is omitted, the search starts at the last index in the array.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("number")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"map"}})]),e._v(" "),r("h2",{attrs:{id:"map"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#map","aria-hidden":"true"}},[e._v("#")]),e._v(" map")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("map")]),e._v("<"),r("code",[e._v("U")]),e._v(">(callbackfn: "),r("em",[r("code",[e._v("function")])]),e._v(", thisArg?: "),r("em",[r("code",[e._v("any")])]),e._v("): "),r("code",[e._v("Array")]),e._v("<"),r("code",[e._v("U")]),e._v(">")]),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html"}},[e._v("Tuple")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html#map"}},[e._v("map")])],1)]),e._v(" "),r("p",[r("em",[e._v("Overrides Array.map")])]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/codec/Tuple.ts#L149",target:"_blank",rel:"noopener noreferrer"}},[e._v("codec/Tuple.ts:149"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": Maps the array with the callback")]),e._v(" "),r("p",[r("strong",[e._v("Type parameters:")])]),e._v(" "),r("h4",{attrs:{id:"u-11"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#u-11","aria-hidden":"true"}},[e._v("#")]),e._v(" U")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callbackfn")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("The mapping function")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" thisArg")]),e._v(" "),r("td",[r("code",[e._v("any")])]),e._v(" "),r("td",[e._v("The `this` onject to apply the result to")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("Array")]),e._v("<"),r("code",[e._v("U")]),e._v(">")]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"pop"}})]),e._v(" "),r("h2",{attrs:{id:"pop"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#pop","aria-hidden":"true"}},[e._v("#")]),e._v(" pop")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("pop")]),e._v("(): "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v(" | "),r("code",[e._v("undefined")])],1),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.pop")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1221")])]),e._v(" "),r("p",[e._v("Removes the last element from an array and returns it.")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v(" | "),r("code",[e._v("undefined")])],1),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"push"}})]),e._v(" "),r("h2",{attrs:{id:"push"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#push","aria-hidden":"true"}},[e._v("#")]),e._v(" push")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("push")]),e._v("(...items: "),r("em",[r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("[]")],1),e._v("): "),r("code",[e._v("number")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.push")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1226")])]),e._v(" "),r("p",[e._v("Appends new elements to an array, and returns the new length of the array.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[r("code",[e._v("Rest")]),e._v(" items")]),e._v(" "),r("td",[r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("[]")],1),e._v(" "),r("td",[e._v("New elements of the Array.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("number")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"reduce"}})]),e._v(" "),r("h2",{attrs:{id:"reduce"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#reduce","aria-hidden":"true"}},[e._v("#")]),e._v(" reduce")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("reduce")]),e._v("(callbackfn: "),r("em",[r("code",[e._v("function")])]),e._v("): "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("reduce")]),e._v("(callbackfn: "),r("em",[r("code",[e._v("function")])]),e._v(", initialValue: "),r("em",[r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1),e._v("): "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("reduce")]),e._v("<"),r("code",[e._v("U")]),e._v(">(callbackfn: "),r("em",[r("code",[e._v("function")])]),e._v(", initialValue: "),r("em",[r("code",[e._v("U")])]),e._v("): "),r("code",[e._v("U")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.reduce")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1332")])]),e._v(" "),r("p",[e._v("Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callbackfn")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.reduce")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1333")])]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callbackfn")]),e._v(" "),r("td",[r("code",[e._v("function")])])]),e._v(" "),r("tr",[r("td",[e._v("initialValue")]),e._v(" "),r("td",[r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1)])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.reduce")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1339")])]),e._v(" "),r("p",[e._v("Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.")]),e._v(" "),r("p",[r("strong",[e._v("Type parameters:")])]),e._v(" "),r("h4",{attrs:{id:"u-12"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#u-12","aria-hidden":"true"}},[e._v("#")]),e._v(" U")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callbackfn")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.")])]),e._v(" "),r("tr",[r("td",[e._v("initialValue")]),e._v(" "),r("td",[r("code",[e._v("U")])]),e._v(" "),r("td",[e._v("If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("U")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"reduceright"}})]),e._v(" "),r("h2",{attrs:{id:"reduceright"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#reduceright","aria-hidden":"true"}},[e._v("#")]),e._v(" reduceRight")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("reduceRight")]),e._v("(callbackfn: "),r("em",[r("code",[e._v("function")])]),e._v("): "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("reduceRight")]),e._v("(callbackfn: "),r("em",[r("code",[e._v("function")])]),e._v(", initialValue: "),r("em",[r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1),e._v("): "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("reduceRight")]),e._v("<"),r("code",[e._v("U")]),e._v(">(callbackfn: "),r("em",[r("code",[e._v("function")])]),e._v(", initialValue: "),r("em",[r("code",[e._v("U")])]),e._v("): "),r("code",[e._v("U")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.reduceRight")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1345")])]),e._v(" "),r("p",[e._v("Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callbackfn")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.reduceRight")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1346")])]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callbackfn")]),e._v(" "),r("td",[r("code",[e._v("function")])])]),e._v(" "),r("tr",[r("td",[e._v("initialValue")]),e._v(" "),r("td",[r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1)])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")])],1),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.reduceRight")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1352")])]),e._v(" "),r("p",[e._v("Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.")]),e._v(" "),r("p",[r("strong",[e._v("Type parameters:")])]),e._v(" "),r("h4",{attrs:{id:"u-13"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#u-13","aria-hidden":"true"}},[e._v("#")]),e._v(" U")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callbackfn")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.")])]),e._v(" "),r("tr",[r("td",[e._v("initialValue")]),e._v(" "),r("td",[r("code",[e._v("U")])]),e._v(" "),r("td",[e._v("If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("U")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"reverse"}})]),e._v(" "),r("h2",{attrs:{id:"reverse"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#reverse","aria-hidden":"true"}},[e._v("#")]),e._v(" reverse")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("reverse")]),e._v("(): "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("[]")],1),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.reverse")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1245")])]),e._v(" "),r("p",[e._v("Reverses the elements in an Array.")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("[]")],1),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"shift"}})]),e._v(" "),r("h2",{attrs:{id:"shift"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#shift","aria-hidden":"true"}},[e._v("#")]),e._v(" shift")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("shift")]),e._v("(): "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v(" | "),r("code",[e._v("undefined")])],1),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.shift")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1249")])]),e._v(" "),r("p",[e._v("Removes the first element from an array and returns it.")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v(" | "),r("code",[e._v("undefined")])],1),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"slice"}})]),e._v(" "),r("h2",{attrs:{id:"slice"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#slice","aria-hidden":"true"}},[e._v("#")]),e._v(" slice")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("slice")]),e._v("(start?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(", end?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v("): "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("[]")],1),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.slice")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1255")])]),e._v(" "),r("p",[e._v("Returns a section of an array.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" start")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("The beginning of the specified portion of the array.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" end")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("The end of the specified portion of the array.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("[]")],1),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"some"}})]),e._v(" "),r("h2",{attrs:{id:"some"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#some","aria-hidden":"true"}},[e._v("#")]),e._v(" some")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("some")]),e._v("(callbackfn: "),r("em",[r("code",[e._v("function")])]),e._v(", thisArg?: "),r("em",[r("code",[e._v("any")])]),e._v("): "),r("code",[e._v("boolean")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.some")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1302")])]),e._v(" "),r("p",[e._v("Determines whether the specified callback function returns true for any element of an array.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("callbackfn")]),e._v(" "),r("td",[r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("A function that accepts up to three arguments. The some method calls the callbackfn function for each element in array1 until the callbackfn returns true, or until the end of the array.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" thisArg")]),e._v(" "),r("td",[r("code",[e._v("any")])]),e._v(" "),r("td",[e._v("An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("boolean")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"sort"}})]),e._v(" "),r("h2",{attrs:{id:"sort"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#sort","aria-hidden":"true"}},[e._v("#")]),e._v(" sort")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("sort")]),e._v("(compareFn?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("function")])]),e._v("): "),r("code",[e._v("this")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.sort")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1260")])]),e._v(" "),r("p",[e._v("Sorts an array.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" compareFn")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("function")])]),e._v(" "),r("td",[e._v("The name of the function used to determine the order of the elements. If omitted, the elements are sorted in ascending, ASCII character order.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("this")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"splice"}})]),e._v(" "),r("h2",{attrs:{id:"splice"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#splice","aria-hidden":"true"}},[e._v("#")]),e._v(" splice")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("splice")]),e._v("(start: "),r("em",[r("code",[e._v("number")])]),e._v(", deleteCount?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v("): "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("[]")],1),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("splice")]),e._v("(start: "),r("em",[r("code",[e._v("number")])]),e._v(", deleteCount: "),r("em",[r("code",[e._v("number")])]),e._v(", ...items: "),r("em",[r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("[]")],1),e._v("): "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("[]")],1),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.splice")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1266")])]),e._v(" "),r("p",[e._v("Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("start")]),e._v(" "),r("td",[r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("The zero-based location in the array from which to start removing elements.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" deleteCount")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("The number of elements to remove.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("[]")],1),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.splice")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1273")])]),e._v(" "),r("p",[e._v("Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("start")]),e._v(" "),r("td",[r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("The zero-based location in the array from which to start removing elements.")])]),e._v(" "),r("tr",[r("td",[e._v("deleteCount")]),e._v(" "),r("td",[r("code",[e._v("number")])]),e._v(" "),r("td",[e._v("The number of elements to remove.")])]),e._v(" "),r("tr",[r("td",[r("code",[e._v("Rest")]),e._v(" items")]),e._v(" "),r("td",[r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("[]")],1),e._v(" "),r("td",[e._v("Elements to insert into the array in place of the deleted elements.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("[]")],1),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"toarray"}})]),e._v(" "),r("h2",{attrs:{id:"toarray"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#toarray","aria-hidden":"true"}},[e._v("#")]),e._v(" toArray")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("toArray")]),e._v("(): "),r("code",[e._v("Array")]),e._v("<"),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v(">")],1),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html"}},[e._v("Tuple")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html#toarray"}},[e._v("toArray")])],1)]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/codec/Tuple.ts#L91",target:"_blank",rel:"noopener noreferrer"}},[e._v("codec/Tuple.ts:91"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": Converts the Object to an standard JavaScript Array")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("Array")]),e._v("<"),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v(">")],1),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"tohex"}})]),e._v(" "),r("h2",{attrs:{id:"tohex"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#tohex","aria-hidden":"true"}},[e._v("#")]),e._v(" toHex")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("toHex")]),e._v("(): "),r("code",[e._v("string")])]),e._v(" "),r("p",[r("em",[e._v("Implementation of "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("."),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html#tohex"}},[e._v("toHex")])],1)]),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html"}},[e._v("Tuple")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html#tohex"}},[e._v("toHex")])],1)]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/codec/Tuple.ts#L98",target:"_blank",rel:"noopener noreferrer"}},[e._v("codec/Tuple.ts:98"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": Returns a hex string representation of the value")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("string")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"tojson"}})]),e._v(" "),r("h2",{attrs:{id:"tojson"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#tojson","aria-hidden":"true"}},[e._v("#")]),e._v(" toJSON")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("toJSON")]),e._v("(): "),r("code",[e._v("any")])]),e._v(" "),r("p",[r("em",[e._v("Implementation of "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("."),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html#tojson"}},[e._v("toJSON")])],1)]),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html"}},[e._v("Tuple")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html#tojson"}},[e._v("toJSON")])],1)]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/codec/Tuple.ts#L105",target:"_blank",rel:"noopener noreferrer"}},[e._v("codec/Tuple.ts:105"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": Converts the Object to JSON, typically used for RPC transfers")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("any")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"tolocalestring"}})]),e._v(" "),r("h2",{attrs:{id:"tolocalestring"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#tolocalestring","aria-hidden":"true"}},[e._v("#")]),e._v(" toLocaleString")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("toLocaleString")]),e._v("(): "),r("code",[e._v("string")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.toLocaleString")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1217")])]),e._v(" "),r("p",[e._v("Returns a string representation of an array. The elements are converted to string using their toLocalString methods.")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("string")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"tostring"}})]),e._v(" "),r("h2",{attrs:{id:"tostring"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#tostring","aria-hidden":"true"}},[e._v("#")]),e._v(" toString")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("toString")]),e._v("(): "),r("code",[e._v("string")])]),e._v(" "),r("p",[r("em",[e._v("Implementation of "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("."),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html#tostring"}},[e._v("toString")])],1)]),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html"}},[e._v("Tuple")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html#tostring"}},[e._v("toString")])],1)]),e._v(" "),r("p",[r("em",[e._v("Overrides Array.toString")])]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/codec/Tuple.ts#L114",target:"_blank",rel:"noopener noreferrer"}},[e._v("codec/Tuple.ts:114"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": Returns the string representation of the value")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("string")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"tou8a"}})]),e._v(" "),r("h2",{attrs:{id:"tou8a"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#tou8a","aria-hidden":"true"}},[e._v("#")]),e._v(" toU8a")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("toU8a")]),e._v("(isBare?: "),r("em",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("false")]),e._v(" | "),r("code",[e._v("true")])]),e._v("): "),r("code",[e._v("Uint8Array")])]),e._v(" "),r("p",[r("em",[e._v("Implementation of "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("."),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html#tou8a"}},[e._v("toU8a")])],1)]),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html"}},[e._v("Tuple")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html#tou8a"}},[e._v("toU8a")])],1)]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/codec/Tuple.ts#L123",target:"_blank",rel:"noopener noreferrer"}},[e._v("codec/Tuple.ts:123"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("em",[r("strong",[e._v("description")])]),e._v(": Encodes the value as a Uint8Array as per the parity-codec specifications")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[r("code",[e._v("Optional")]),e._v(" isBare")]),e._v(" "),r("td",[r("code",[e._v("undefined")]),e._v(" | "),r("code",[e._v("false")]),e._v(" | "),r("code",[e._v("true")])]),e._v(" "),r("td",[e._v("true when the value has none of the type-specific prefixes (internal)")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("Uint8Array")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"unshift"}})]),e._v(" "),r("h2",{attrs:{id:"unshift"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#unshift","aria-hidden":"true"}},[e._v("#")]),e._v(" unshift")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("unshift")]),e._v("(...items: "),r("em",[r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("[]")],1),e._v("): "),r("code",[e._v("number")])]),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.unshift")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1278")])]),e._v(" "),r("p",[e._v("Inserts new elements at the start of an array.")]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")]),e._v(" "),r("th",[e._v("Description")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[r("code",[e._v("Rest")]),e._v(" items")]),e._v(" "),r("td",[r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v("[]")],1),e._v(" "),r("td",[e._v("Elements to insert at the start of the Array.")])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("number")])]),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"values"}})]),e._v(" "),r("h2",{attrs:{id:"values"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#values","aria-hidden":"true"}},[e._v("#")]),e._v(" values")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("values")]),e._v("(): "),r("code",[e._v("IterableIterator")]),e._v("<"),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v(">")],1),e._v(" "),r("p",[r("em",[e._v("Inherited from Array.values")])]),e._v(" "),r("p",[r("em",[e._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.iterable.d.ts:67")])]),e._v(" "),r("p",[e._v("Returns an iterable of values in the array")]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("code",[e._v("IterableIterator")]),e._v("<"),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[e._v("Codec")]),e._v(">")],1),e._v(" "),r("hr"),e._v(" "),r("p",[r("a",{attrs:{id:"with"}})]),e._v(" "),r("h2",{attrs:{id:"static-with"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#static-with","aria-hidden":"true"}},[e._v("#")]),e._v(" "),r("code",[e._v("<Static>")]),e._v(" with")]),e._v(" "),r("p",[e._v("▸ "),r("strong",[e._v("with")]),e._v("(Types: "),r("em",[r("code",[e._v("TupleConstructors")])]),e._v("): "),r("router-link",{attrs:{to:"/types/interfaces/_types_.constructor.html"}},[e._v("Constructor")]),e._v("<"),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html"}},[e._v("Tuple")]),e._v(">")],1),e._v(" "),r("p",[r("em",[e._v("Inherited from "),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html"}},[e._v("Tuple")]),e._v("."),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html#with"}},[e._v("with")])],1)]),e._v(" "),r("p",[r("em",[e._v("Defined in "),r("a",{attrs:{href:"https://github.com/polkadot-js/api/blob/73a5ea1/packages/types/src/codec/Tuple.ts#L48",target:"_blank",rel:"noopener noreferrer"}},[e._v("codec/Tuple.ts:48"),r("OutboundLink")],1)])]),e._v(" "),r("p",[r("strong",[e._v("Parameters:")])]),e._v(" "),r("table",[r("thead",[r("tr",[r("th",[e._v("Name")]),e._v(" "),r("th",[e._v("Type")])])]),e._v(" "),r("tbody",[r("tr",[r("td",[e._v("Types")]),e._v(" "),r("td",[r("code",[e._v("TupleConstructors")])])])])]),e._v(" "),r("p",[r("strong",[e._v("Returns:")]),e._v(" "),r("router-link",{attrs:{to:"/types/interfaces/_types_.constructor.html"}},[e._v("Constructor")]),e._v("<"),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html"}},[e._v("Tuple")]),e._v(">")],1),e._v(" "),r("hr")])},[],!1,null,null,null);t.default=v.exports}}]);