[CI Skip] 0.32.13
This commit is contained in:
@@ -34,7 +34,7 @@ throw new ExtError('some message', ExtError.CODES.METHOD_NOT_FOUND); // => error
|
||||
|
||||
⊕ **new ExtError**(message?: *`string`*, code?: *`number`*, data?: *`any`*): [ExtError](_ext_error_.exterror.md)
|
||||
|
||||
*Defined in [ext/error.ts:44](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/ext/error.ts#L44)*
|
||||
*Defined in [ext/error.ts:44](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/ext/error.ts#L44)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -56,7 +56,7 @@ ___
|
||||
|
||||
**● code**: *`number`*
|
||||
|
||||
*Defined in [ext/error.ts:36](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/ext/error.ts#L36)*
|
||||
*Defined in [ext/error.ts:36](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/ext/error.ts#L36)*
|
||||
|
||||
___
|
||||
<a id="data"></a>
|
||||
@@ -65,7 +65,7 @@ ___
|
||||
|
||||
**● data**: *`any`*
|
||||
|
||||
*Defined in [ext/error.ts:38](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/ext/error.ts#L38)*
|
||||
*Defined in [ext/error.ts:38](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/ext/error.ts#L38)*
|
||||
|
||||
___
|
||||
<a id="message"></a>
|
||||
@@ -76,7 +76,7 @@ ___
|
||||
|
||||
*Overrides Error.message*
|
||||
|
||||
*Defined in [ext/error.ts:40](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/ext/error.ts#L40)*
|
||||
*Defined in [ext/error.ts:40](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/ext/error.ts#L40)*
|
||||
|
||||
___
|
||||
<a id="name"></a>
|
||||
@@ -87,7 +87,7 @@ ___
|
||||
|
||||
*Overrides Error.name*
|
||||
|
||||
*Defined in [ext/error.ts:42](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/ext/error.ts#L42)*
|
||||
*Defined in [ext/error.ts:42](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/ext/error.ts#L42)*
|
||||
|
||||
___
|
||||
<a id="stack"></a>
|
||||
@@ -98,7 +98,7 @@ ___
|
||||
|
||||
*Overrides Error.stack*
|
||||
|
||||
*Defined in [ext/error.ts:44](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/ext/error.ts#L44)*
|
||||
*Defined in [ext/error.ts:44](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/ext/error.ts#L44)*
|
||||
|
||||
___
|
||||
<a id="error"></a>
|
||||
@@ -119,7 +119,7 @@ ___
|
||||
|
||||
**CODES**: *`object`*
|
||||
|
||||
*Defined in [ext/error.ts:61](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/ext/error.ts#L61)*
|
||||
*Defined in [ext/error.ts:61](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/ext/error.ts#L61)*
|
||||
|
||||
<a id="codes.assert"></a>
|
||||
|
||||
@@ -127,7 +127,7 @@ ___
|
||||
|
||||
**● ASSERT**: *`number`* = -90009
|
||||
|
||||
*Defined in [ext/error.ts:62](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/ext/error.ts#L62)*
|
||||
*Defined in [ext/error.ts:62](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/ext/error.ts#L62)*
|
||||
|
||||
___
|
||||
<a id="codes.invalid_jsonrpc"></a>
|
||||
@@ -136,7 +136,7 @@ ___
|
||||
|
||||
**● INVALID_JSONRPC**: *`number`* = -99998
|
||||
|
||||
*Defined in [ext/error.ts:64](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/ext/error.ts#L64)*
|
||||
*Defined in [ext/error.ts:64](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/ext/error.ts#L64)*
|
||||
|
||||
___
|
||||
<a id="codes.method_not_found"></a>
|
||||
@@ -145,7 +145,7 @@ ___
|
||||
|
||||
**● METHOD_NOT_FOUND**: *`number`* = -32601
|
||||
|
||||
*Defined in [ext/error.ts:65](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/ext/error.ts#L65)*
|
||||
*Defined in [ext/error.ts:65](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/ext/error.ts#L65)*
|
||||
|
||||
___
|
||||
<a id="codes.unknown"></a>
|
||||
@@ -154,7 +154,7 @@ ___
|
||||
|
||||
**● UNKNOWN**: *`number`*
|
||||
|
||||
*Defined in [ext/error.ts:63](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/ext/error.ts#L63)*
|
||||
*Defined in [ext/error.ts:63](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/ext/error.ts#L63)*
|
||||
|
||||
___
|
||||
|
||||
|
||||
@@ -416,7 +416,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"util","level":"1.5","depth":1,"next":{"title":"util-crypto","level":"1.6","depth":1,"path":"util-crypto/README.md","ref":"util-crypto/README.md","articles":[]},"previous":{"title":"trie-hash","level":"1.4","depth":1,"path":"trie-hash/README.md","ref":"trie-hash/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/common/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot Common Book","gitbook":">=2.4.0"},"file":{"path":"util/README.md","mtime":"2018-11-01T13:42:59.315Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-11-01T13:43:41.803Z"},"basePath":"..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"util","level":"1.5","depth":1,"next":{"title":"util-crypto","level":"1.6","depth":1,"path":"util-crypto/README.md","ref":"util-crypto/README.md","articles":[]},"previous":{"title":"trie-hash","level":"1.4","depth":1,"path":"trie-hash/README.md","ref":"trie-hash/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/common/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot Common Book","gitbook":">=2.4.0"},"file":{"path":"util/README.md","mtime":"2018-11-10T10:41:11.303Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-11-10T10:41:56.704Z"},"basePath":"..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **arrayFilter**(array: *`Array`<`any`>*, allowNulls?: *`boolean`*): `Array`<`any`>
|
||||
|
||||
*Defined in [array/filter.ts:24](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/array/filter.ts#L24)*
|
||||
*Defined in [array/filter.ts:24](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/array/filter.ts#L24)*
|
||||
|
||||
*__name__*: arrayFilter
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **assert**(test: *`any`*, message: * `string` | `MessageFn`*, code?: *`number`*, data?: *`any`*): `boolean`
|
||||
|
||||
*Defined in [assert.ts:27](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/assert.ts#L27)*
|
||||
*Defined in [assert.ts:27](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/assert.ts#L27)*
|
||||
|
||||
*__name__*: assert
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **bnToBn**(value?: * `BN` | `number`*): `BN`
|
||||
|
||||
*Defined in [bn/toBn.ts:24](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/bn/toBn.ts#L24)*
|
||||
*Defined in [bn/toBn.ts:24](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/bn/toBn.ts#L24)*
|
||||
|
||||
*__name__*: bnToBn
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **bnToHex**(value?: * `BN` | `number`*, bitLength?: *`number`*): `string`
|
||||
|
||||
*Defined in [bn/toHex.ts:28](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/bn/toHex.ts#L28)*
|
||||
*Defined in [bn/toHex.ts:28](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/bn/toHex.ts#L28)*
|
||||
|
||||
*__name__*: bnToHex
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **bnToU8a**(value: * `BN` | `number`*, bitLength: *`number`*, isLe: *`boolean`*): `Uint8Array`
|
||||
|
||||
*Defined in [bn/toU8a.ts:26](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/bn/toU8a.ts#L26)*
|
||||
*Defined in [bn/toU8a.ts:26](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/bn/toU8a.ts#L26)*
|
||||
|
||||
*__name__*: bnToU8a
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **bufferToU8a**(buffer?: * `Buffer` | `number`[]*): `Uint8Array`
|
||||
|
||||
*Defined in [buffer/toU8a.ts:20](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/buffer/toU8a.ts#L20)*
|
||||
*Defined in [buffer/toU8a.ts:20](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/buffer/toU8a.ts#L20)*
|
||||
|
||||
*__name__*: bufferToU8a
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **hexAddPrefix**(value: * `string` | `null` | `undefined`*): `string`
|
||||
|
||||
*Defined in [hex/addPrefix.ts:22](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/hex/addPrefix.ts#L22)*
|
||||
*Defined in [hex/addPrefix.ts:22](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/hex/addPrefix.ts#L22)*
|
||||
|
||||
*__name__*: hexAddPrefix
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **hexFixLength**(value: *`string`*, bitLength?: *`number`*, withPadding?: *`boolean`*): `string`
|
||||
|
||||
*Defined in [hex/fixLength.ts:25](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/hex/fixLength.ts#L25)*
|
||||
*Defined in [hex/fixLength.ts:25](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/hex/fixLength.ts#L25)*
|
||||
|
||||
*__name__*: hexFixLength
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **hexHasPrefix**(value: * `string` | `null` | `undefined`*): `boolean`
|
||||
|
||||
*Defined in [hex/hasPrefix.ts:22](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/hex/hasPrefix.ts#L22)*
|
||||
*Defined in [hex/hasPrefix.ts:22](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/hex/hasPrefix.ts#L22)*
|
||||
|
||||
*__name__*: hexHasPrefix
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **hexStripPrefix**(value: * `string` | `null` | `undefined`*): `string`
|
||||
|
||||
*Defined in [hex/stripPrefix.ts:24](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/hex/stripPrefix.ts#L24)*
|
||||
*Defined in [hex/stripPrefix.ts:24](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/hex/stripPrefix.ts#L24)*
|
||||
|
||||
*__name__*: hexStripPrefix
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **hexToBn**(_value?: * `undefined` | `string`*, isLe?: *`boolean`*): `BN`
|
||||
|
||||
*Defined in [hex/toBn.ts:30](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/hex/toBn.ts#L30)*
|
||||
*Defined in [hex/toBn.ts:30](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/hex/toBn.ts#L30)*
|
||||
|
||||
*__name__*: hexToBn
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **hexToNumber**(value?: * `undefined` | `string`*): `number`
|
||||
|
||||
*Defined in [hex/toNumber.ts:22](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/hex/toNumber.ts#L22)*
|
||||
*Defined in [hex/toNumber.ts:22](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/hex/toNumber.ts#L22)*
|
||||
|
||||
*__name__*: hexToNumber
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **hexToU8a**(_value?: * `string` | `null`*, bitLength?: *`number`*): `Uint8Array`
|
||||
|
||||
*Defined in [hex/toU8a.ts:25](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/hex/toU8a.ts#L25)*
|
||||
*Defined in [hex/toU8a.ts:25](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/hex/toU8a.ts#L25)*
|
||||
|
||||
*__name__*: hexToU8a
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **isBn**(value: *`any`*): `boolean`
|
||||
|
||||
*Defined in [is/bn.ts:23](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/is/bn.ts#L23)*
|
||||
*Defined in [is/bn.ts:23](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/is/bn.ts#L23)*
|
||||
|
||||
*__name__*: isBn
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **isBoolean**(value: *`any`*): `boolean`
|
||||
|
||||
*Defined in [is/boolean.ts:20](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/is/boolean.ts#L20)*
|
||||
*Defined in [is/boolean.ts:20](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/is/boolean.ts#L20)*
|
||||
|
||||
*__name__*: isBoolean
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **isBuffer**(value: *`any`*): `boolean`
|
||||
|
||||
*Defined in [is/buffer.ts:22](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/is/buffer.ts#L22)*
|
||||
*Defined in [is/buffer.ts:22](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/is/buffer.ts#L22)*
|
||||
|
||||
*__name__*: isBuffer
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **isError**(value: *`any`*): `boolean`
|
||||
|
||||
*Defined in [is/error.ts:22](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/is/error.ts#L22)*
|
||||
*Defined in [is/error.ts:22](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/is/error.ts#L22)*
|
||||
|
||||
*__name__*: isError
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **isFunction**(value: *`any`*): `boolean`
|
||||
|
||||
*Defined in [is/function.ts:20](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/is/function.ts#L20)*
|
||||
*Defined in [is/function.ts:20](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/is/function.ts#L20)*
|
||||
|
||||
*__name__*: isFunction
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **isHex**(_value: *`any`*, bitLength?: *`number`*, ignoreLength?: *`boolean`*): `boolean`
|
||||
|
||||
*Defined in [is/hex.ts:25](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/is/hex.ts#L25)*
|
||||
*Defined in [is/hex.ts:25](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/is/hex.ts#L25)*
|
||||
|
||||
*__name__*: isHex
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **isInstanceOf**(value: *`any`*, clazz: *`any`*): `boolean`
|
||||
|
||||
*Defined in [is/instanceOf.ts:20](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/is/instanceOf.ts#L20)*
|
||||
*Defined in [is/instanceOf.ts:20](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/is/instanceOf.ts#L20)*
|
||||
|
||||
*__name__*: isInstanceOf
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **isIp**(value: *`string`*, type?: *`IpTypes`*): `boolean`
|
||||
|
||||
*Defined in [is/ip.ts:27](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/is/ip.ts#L27)*
|
||||
*Defined in [is/ip.ts:27](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/is/ip.ts#L27)*
|
||||
|
||||
*__name__*: isIp
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **isNull**(value: *`any`*): `boolean`
|
||||
|
||||
*Defined in [is/null.ts:20](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/is/null.ts#L20)*
|
||||
*Defined in [is/null.ts:20](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/is/null.ts#L20)*
|
||||
|
||||
*__name__*: isNull
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **isNumber**(value: *`any`*): `boolean`
|
||||
|
||||
*Defined in [is/number.ts:20](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/is/number.ts#L20)*
|
||||
*Defined in [is/number.ts:20](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/is/number.ts#L20)*
|
||||
|
||||
*__name__*: isNumber
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **isObject**(value: *`any`*): `boolean`
|
||||
|
||||
*Defined in [is/object.ts:25](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/is/object.ts#L25)*
|
||||
*Defined in [is/object.ts:25](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/is/object.ts#L25)*
|
||||
|
||||
*__name__*: isObject
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **isObservable**(value: *`any`*): `boolean`
|
||||
|
||||
*Defined in [is/observable.ts:27](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/is/observable.ts#L27)*
|
||||
*Defined in [is/observable.ts:27](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/is/observable.ts#L27)*
|
||||
|
||||
*__name__*: isBObservable
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **isString**(value: *`any`*): `boolean`
|
||||
|
||||
*Defined in [is/string.ts:20](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/is/string.ts#L20)*
|
||||
*Defined in [is/string.ts:20](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/is/string.ts#L20)*
|
||||
|
||||
*__name__*: isString
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **isU8a**(value: *`any`*): `boolean`
|
||||
|
||||
*Defined in [is/u8a.ts:22](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/is/u8a.ts#L22)*
|
||||
*Defined in [is/u8a.ts:22](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/is/u8a.ts#L22)*
|
||||
|
||||
*__name__*: isU8a
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **isUndefined**(value: *`any`*): `boolean`
|
||||
|
||||
*Defined in [is/undefined.ts:20](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/is/undefined.ts#L20)*
|
||||
*Defined in [is/undefined.ts:20](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/is/undefined.ts#L20)*
|
||||
|
||||
*__name__*: isUndefined
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **format**(value: *`any`*): `any`
|
||||
|
||||
*Defined in [logger.ts:36](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/logger.ts#L36)*
|
||||
*Defined in [logger.ts:36](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/logger.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -25,7 +25,7 @@ ___
|
||||
|
||||
▸ **logger**(_type: *`string`*): `Logger`
|
||||
|
||||
*Defined in [logger.ts:105](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/logger.ts#L105)*
|
||||
*Defined in [logger.ts:105](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/logger.ts#L105)*
|
||||
|
||||
*__name__*: Logger
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **numberToHex**(value?: * `undefined` | `number`*, bitLength?: *`number`*): `string`
|
||||
|
||||
*Defined in [number/toHex.ts:25](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/number/toHex.ts#L25)*
|
||||
*Defined in [number/toHex.ts:25](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/number/toHex.ts#L25)*
|
||||
|
||||
*__name__*: numberToHex
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **numberToU8a**(value?: * `undefined` | `number`*, bitLength?: *`number`*): `Uint8Array`
|
||||
|
||||
*Defined in [number/toU8a.ts:23](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/number/toU8a.ts#L23)*
|
||||
*Defined in [number/toU8a.ts:23](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/number/toU8a.ts#L23)*
|
||||
|
||||
*__name__*: numberToU8a
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **promisify**(self: *`any`*, fn: *`Function`*, ...params: *`Array`<`any`>*): `Promise`<`any`>
|
||||
|
||||
*Defined in [promisify.ts:21](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/promisify.ts#L21)*
|
||||
*Defined in [promisify.ts:21](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/promisify.ts#L21)*
|
||||
|
||||
*__name__*: promisify
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **stringLowerFirst**(_value: *`string`*): `string`
|
||||
|
||||
*Defined in [string/lowerFirst.ts:23](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/string/lowerFirst.ts#L23)*
|
||||
*Defined in [string/lowerFirst.ts:23](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/string/lowerFirst.ts#L23)*
|
||||
|
||||
*__name__*: stringLowerFirst
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **stringShorten**(_value: *`any`*, prefixLength?: *`number`*): `string`
|
||||
|
||||
*Defined in [string/shorten.ts:20](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/string/shorten.ts#L20)*
|
||||
*Defined in [string/shorten.ts:20](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/string/shorten.ts#L20)*
|
||||
|
||||
*__name__*: stringShorten
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **stringToU8a**(value?: * `undefined` | `string`*): `Uint8Array`
|
||||
|
||||
*Defined in [string/toU8a.ts:24](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/string/toU8a.ts#L24)*
|
||||
*Defined in [string/toU8a.ts:24](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/string/toU8a.ts#L24)*
|
||||
|
||||
*__name__*: stringToU8a
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **stringUpperFirst**(_value: *`string`*): `string`
|
||||
|
||||
*Defined in [string/upperFirst.ts:23](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/string/upperFirst.ts#L23)*
|
||||
*Defined in [string/upperFirst.ts:23](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/string/upperFirst.ts#L23)*
|
||||
|
||||
*__name__*: stringUpperFirst
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **syncify**(promise: *`Promise`<`any`>*): `any`
|
||||
|
||||
*Defined in [syncify.ts:11](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/syncify.ts#L11)*
|
||||
*Defined in [syncify.ts:11](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/syncify.ts#L11)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **u8aConcat**(..._list: *`Array`< `Uint8Array` | `string`>*): `Uint8Array`
|
||||
|
||||
*Defined in [u8a/concat.ts:25](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/u8a/concat.ts#L25)*
|
||||
*Defined in [u8a/concat.ts:25](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/u8a/concat.ts#L25)*
|
||||
|
||||
*__name__*: u8aConcat
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **u8aFixLength**(value: *`Uint8Array`*, bitLength?: *`number`*, atStart?: *`boolean`*): `Uint8Array`
|
||||
|
||||
*Defined in [u8a/fixLength.ts:22](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/u8a/fixLength.ts#L22)*
|
||||
*Defined in [u8a/fixLength.ts:22](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/u8a/fixLength.ts#L22)*
|
||||
|
||||
*__name__*: u8aFixLength
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **u8aToBn**(value: *`Uint8Array`*, isLe: *`boolean`*): `BN`
|
||||
|
||||
*Defined in [u8a/toBn.ts:25](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/u8a/toBn.ts#L25)*
|
||||
*Defined in [u8a/toBn.ts:25](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/u8a/toBn.ts#L25)*
|
||||
|
||||
*__name__*: u8aToBn
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **u8aToBuffer**(value?: *`Uint8Array`*): `Buffer`
|
||||
|
||||
*Defined in [u8a/toBuffer.ts:20](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/u8a/toBuffer.ts#L20)*
|
||||
*Defined in [u8a/toBuffer.ts:20](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/u8a/toBuffer.ts#L20)*
|
||||
|
||||
*__name__*: u8aToBuffer
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **u8aToHex**(value?: * `Uint8Array` | `null`*, bitLength?: *`number`*, isPrefixed?: *`boolean`*): `string`
|
||||
|
||||
*Defined in [u8a/toHex.ts:20](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/u8a/toHex.ts#L20)*
|
||||
*Defined in [u8a/toHex.ts:20](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/u8a/toHex.ts#L20)*
|
||||
|
||||
*__name__*: u8aToHex
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **u8aToString**(value?: *`Uint8Array`*): `string`
|
||||
|
||||
*Defined in [u8a/toString.ts:24](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/u8a/toString.ts#L24)*
|
||||
*Defined in [u8a/toString.ts:24](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/u8a/toString.ts#L24)*
|
||||
|
||||
*__name__*: u8aToString
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **u8aToU8a**(value?: * `Array`<`number`> | `Buffer` | `Uint8Array` | `string` | `null`*): `Uint8Array`
|
||||
|
||||
*Defined in [u8a/toU8a.ts:28](https://github.com/polkadot-js/common/blob/0ddac0a/packages/util/src/u8a/toU8a.ts#L28)*
|
||||
*Defined in [u8a/toU8a.ts:28](https://github.com/polkadot-js/common/blob/a9878a2/packages/util/src/u8a/toU8a.ts#L28)*
|
||||
|
||||
*__name__*: u8aToU8a
|
||||
|
||||
|
||||
Reference in New Issue
Block a user