1 line
20 KiB
JavaScript
1 line
20 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[153],{533:function(t,e,r){"use strict";r.r(e);var a=r(46),_=Object(a.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(": Tuple")]),t._v(" "),r("p",[r("em",[r("strong",[t._v("description")])]),t._v(": A Tuple defines an anonymous fixed-length array, where each element has its own type. It extends the base JS "),r("code",[t._v("Array")]),t._v(" object.")]),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",[r("code",[t._v("Array")]),t._v("<"),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[t._v("Codec")]),t._v(">")],1),t._v(" "),r("p",[r("strong",[t._v("↳ Tuple")])]),t._v(" "),r("p",[t._v("↳ "),r("router-link",{attrs:{to:"/types/classes/_metadata_v0_events_.outereventmetadataevent.html"}},[t._v("OuterEventMetadataEvent")])],1),t._v(" "),r("p",[t._v("↳ "),r("router-link",{attrs:{to:"/types/classes/_type_attestedcandidate_.balanceupload.html"}},[t._v("BalanceUpload")])],1),t._v(" "),r("p",[t._v("↳ "),r("router-link",{attrs:{to:"/types/classes/_type_attestedcandidate_.egressqueueroot.html"}},[t._v("EgressQueueRoot")])],1),t._v(" "),r("p",[t._v("↳ "),r("router-link",{attrs:{to:"/types/classes/_type_attestedcandidate_.availabilityvote.html"}},[t._v("AvailabilityVote")])],1),t._v(" "),r("p",[t._v("↳ "),r("router-link",{attrs:{to:"/types/classes/_type_attestedcandidate_.validityvote.html"}},[t._v("ValidityVote")])],1),t._v(" "),r("p",[t._v("↳ "),r("router-link",{attrs:{to:"/types/classes/_type_runtimeversion_.runtimeversionapi.html"}},[t._v("RuntimeVersionApi")])],1),t._v(" "),r("p",[t._v("↳ "),r("router-link",{attrs:{to:"/types/classes/_type_digest_.seal.html"}},[t._v("Seal")])],1),t._v(" "),r("p",[t._v("↳ "),r("router-link",{attrs:{to:"/types/classes/_type_event_.eventdata.html"}},[t._v("EventData")])],1),t._v(" "),r("p",[t._v("↳ "),r("router-link",{attrs:{to:"/types/classes/_type_inherentofflinereport_.inherentofflinereport.html"}},[t._v("InherentOfflineReport")])],1),t._v(" "),r("p",[t._v("↳ "),r("router-link",{attrs:{to:"/types/classes/_type_keyvalue_.keyvalueoption.html"}},[t._v("KeyValueOption")])],1),t._v(" "),r("p",[t._v("↳ "),r("router-link",{attrs:{to:"/types/classes/_type_bft_.bftauthoritysignature.html"}},[t._v("BftAuthoritySignature")])],1),t._v(" "),r("p",[t._v("↳ "),r("router-link",{attrs:{to:"/types/classes/_type_bft_.bfthashsignature.html"}},[t._v("BftHashSignature")])],1),t._v(" "),r("p",[t._v("↳ "),r("router-link",{attrs:{to:"/types/classes/_type_storedpendingchange_.nextauthority.html"}},[t._v("NextAuthority")])],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("[n: "),r("code",[t._v("number")]),t._v("]: "),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[t._v("Codec")])],1),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 Tuple")]),t._v("(Types: "),r("em",[r("code",[t._v("TupleConstructors")])]),t._v(", value: "),r("em",[r("code",[t._v("any")])]),t._v("): "),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html"}},[t._v("Tuple")])],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/codec/Tuple.ts#L22",target:"_blank",rel:"noopener noreferrer"}},[t._v("codec/Tuple.ts:22"),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("tbody",[r("tr",[r("td",[t._v("Types")]),t._v(" "),r("td",[r("code",[t._v("TupleConstructors")])])]),t._v(" "),r("tr",[r("td",[t._v("value")]),t._v(" "),r("td",[r("code",[t._v("any")])])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html"}},[t._v("Tuple")])],1),t._v(" "),r("hr"),t._v(" "),r("h1",{attrs:{id:"properties"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#properties","aria-hidden":"true"}},[t._v("#")]),t._v(" Properties")]),t._v(" "),r("p",[r("a",{attrs:{id:"array"}})]),t._v(" "),r("h2",{attrs:{id:"static-array"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#static-array","aria-hidden":"true"}},[t._v("#")]),t._v(" "),r("code",[t._v("<Static>")]),t._v(" Array")]),t._v(" "),r("p",[r("strong",[t._v("● Array")]),t._v(": "),r("em",[r("code",[t._v("ArrayConstructor")])])]),t._v(" "),r("p",[r("em",[t._v("Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es5.d.ts:1368")])]),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:"types"}})]),t._v(" "),r("h2",{attrs:{id:"types"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#types","aria-hidden":"true"}},[t._v("#")]),t._v(" Types")]),t._v(" "),r("p",[r("strong",[t._v("get Types")]),t._v("(): "),r("code",[t._v("Array")]),t._v("<"),r("code",[t._v("string")]),t._v(">")]),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/codec/Tuple.ts#L75",target:"_blank",rel:"noopener noreferrer"}},[t._v("codec/Tuple.ts:75"),r("OutboundLink")],1)])]),t._v(" "),r("p",[r("em",[r("strong",[t._v("description")])]),t._v(": The types definition of the tuple")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("Array")]),t._v("<"),r("code",[t._v("string")]),t._v(">")]),t._v(" "),r("hr"),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("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"}},[t._v("codec/Tuple.ts:59"),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("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"}},[t._v("codec/Tuple.ts:68"),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("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:"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("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"}},[t._v("codec/Tuple.ts:84"),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:"filter"}})]),t._v(" "),r("h2",{attrs:{id:"filter"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#filter","aria-hidden":"true"}},[t._v("#")]),t._v(" filter")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("filter")]),t._v("(callbackfn: "),r("em",[r("code",[t._v("function")])]),t._v(", thisArg?: "),r("em",[r("code",[t._v("any")])]),t._v("): "),r("code",[t._v("Array")]),t._v("<"),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[t._v("Codec")]),t._v(">")],1),t._v(" "),r("p",[r("em",[t._v("Overrides Array.filter")])]),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/codec/Tuple.ts#L140",target:"_blank",rel:"noopener noreferrer"}},[t._v("codec/Tuple.ts:140"),r("OutboundLink")],1)])]),t._v(" "),r("p",[r("em",[r("strong",[t._v("description")])]),t._v(": Filters the array with the callback")]),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("callbackfn")]),t._v(" "),r("td",[r("code",[t._v("function")])]),t._v(" "),r("td",[t._v("The filter function")])]),t._v(" "),r("tr",[r("td",[r("code",[t._v("Optional")]),t._v(" thisArg")]),t._v(" "),r("td",[r("code",[t._v("any")])]),t._v(" "),r("td",[t._v("The `this` object to apply the result to")])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("Array")]),t._v("<"),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[t._v("Codec")]),t._v(">")],1),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"map"}})]),t._v(" "),r("h2",{attrs:{id:"map"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#map","aria-hidden":"true"}},[t._v("#")]),t._v(" map")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("map")]),t._v("<"),r("code",[t._v("U")]),t._v(">(callbackfn: "),r("em",[r("code",[t._v("function")])]),t._v(", thisArg?: "),r("em",[r("code",[t._v("any")])]),t._v("): "),r("code",[t._v("Array")]),t._v("<"),r("code",[t._v("U")]),t._v(">")]),t._v(" "),r("p",[r("em",[t._v("Overrides Array.map")])]),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/codec/Tuple.ts#L149",target:"_blank",rel:"noopener noreferrer"}},[t._v("codec/Tuple.ts:149"),r("OutboundLink")],1)])]),t._v(" "),r("p",[r("em",[r("strong",[t._v("description")])]),t._v(": Maps the array with the callback")]),t._v(" "),r("p",[r("strong",[t._v("Type parameters:")])]),t._v(" "),r("h4",{attrs:{id:"u"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#u","aria-hidden":"true"}},[t._v("#")]),t._v(" U")]),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("callbackfn")]),t._v(" "),r("td",[r("code",[t._v("function")])]),t._v(" "),r("td",[t._v("The mapping function")])]),t._v(" "),r("tr",[r("td",[r("code",[t._v("Optional")]),t._v(" thisArg")]),t._v(" "),r("td",[r("code",[t._v("any")])]),t._v(" "),r("td",[t._v("The `this` onject to apply the result to")])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("Array")]),t._v("<"),r("code",[t._v("U")]),t._v(">")]),t._v(" "),r("hr"),t._v(" "),r("p",[r("a",{attrs:{id:"toarray"}})]),t._v(" "),r("h2",{attrs:{id:"toarray"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#toarray","aria-hidden":"true"}},[t._v("#")]),t._v(" toArray")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("toArray")]),t._v("(): "),r("code",[t._v("Array")]),t._v("<"),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[t._v("Codec")]),t._v(">")],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/codec/Tuple.ts#L91",target:"_blank",rel:"noopener noreferrer"}},[t._v("codec/Tuple.ts:91"),r("OutboundLink")],1)])]),t._v(" "),r("p",[r("em",[r("strong",[t._v("description")])]),t._v(": Converts the Object to an standard JavaScript Array")]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("code",[t._v("Array")]),t._v("<"),r("router-link",{attrs:{to:"/types/interfaces/_types_.codec.html"}},[t._v("Codec")]),t._v(">")],1),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("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"}},[t._v("codec/Tuple.ts:98"),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("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"}},[t._v("codec/Tuple.ts:105"),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:"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("Overrides Array.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/codec/Tuple.ts#L114",target:"_blank",rel:"noopener noreferrer"}},[t._v("codec/Tuple.ts:114"),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("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"}},[t._v("codec/Tuple.ts:123"),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:"with"}})]),t._v(" "),r("h2",{attrs:{id:"static-with"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#static-with","aria-hidden":"true"}},[t._v("#")]),t._v(" "),r("code",[t._v("<Static>")]),t._v(" with")]),t._v(" "),r("p",[t._v("▸ "),r("strong",[t._v("with")]),t._v("(Types: "),r("em",[r("code",[t._v("TupleConstructors")])]),t._v("): "),r("router-link",{attrs:{to:"/types/interfaces/_types_.constructor.html"}},[t._v("Constructor")]),t._v("<"),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html"}},[t._v("Tuple")]),t._v(">")],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/codec/Tuple.ts#L48",target:"_blank",rel:"noopener noreferrer"}},[t._v("codec/Tuple.ts:48"),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("tbody",[r("tr",[r("td",[t._v("Types")]),t._v(" "),r("td",[r("code",[t._v("TupleConstructors")])])])])]),t._v(" "),r("p",[r("strong",[t._v("Returns:")]),t._v(" "),r("router-link",{attrs:{to:"/types/interfaces/_types_.constructor.html"}},[t._v("Constructor")]),t._v("<"),r("router-link",{attrs:{to:"/types/classes/_codec_tuple_.tuple.html"}},[t._v("Tuple")]),t._v(">")],1),t._v(" "),r("hr")])},[],!1,null,null,null);e.default=_.exports}}]); |