TypeTags .Uint8Array
Overview
The Uint8Array
typed array represents an array of 8-bit unsigned integers. The contents are initialized to 0
.
Usage
import { TypeTags } from 'typetags'
let arr = new Uint8Array([21, 31])
TypeTags.get(arr)// → [object Uint8Array]
TypeTags.get(arr) === TypeTags.Uint8Array// → true
Metadata (TType)
Metadata | Value |
---|---|
.type | Uint8Array |
.tag | [object Uint8Array] |
.builtin() | undefined |
.getTag() | [object Uint8Array] |
.hasSpecialArgs() | false |
.instance() | undefined |
.instanceTypeOf() | object |
.info() | see more |
.isAvailable() | true |
.isConstructor() | true |
.isFactory() | false |
.isFunction() | true |
.isGlobal() | true |
.isIterator() | false |
.isNested() | false |
.isObject() | false |
.isPrimitive() | false |
.isStringifiable() | true |
.isSyntatic() | false |
.isTypedArray() | true |
.ownKeys() | [length, name, prototype, BYTES_PER_ELEMENT] |
.toString() | function toString() { [native code] } |
.typeOf() | function |
Signature
declare type ITypeTags = { [key in Types | NestedTypes]: Tags}
declare interface Predicate { predicate(value: any): boolean}