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/bytes.es/4.1.10/deps.ts"; 

const { isUint8 } = Uint8;

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

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

§Parameters

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

§Return Type

§
value is Uint8
[src]

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