Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Uint8.isUint8

import { Uint8 } from "https://raw.githubusercontent.com/i-xi-dev/buffer-utils.es/6.2.3/deps.ts"; 

const { isUint8 } = Uint8;

Determines whether the passed test is an 8-bit unsigned integer.

function isUint8(test: unknown): test is Uint8;
§
isUint8(test: unknown): test is Uint8
[src]

§Parameters

§
test: unknown
[src]
  • The value to be tested

§Return Type

§
test is Uint8
[src]

Whether the passed test is an 8-bit unsigned integer.