Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/bencodex/src/dict.ts>isRecordValue

An alternative take on implementing Bencodex in TypeScript/JavaScript
Latest
function isRecordValue
import { isRecordValue } from "https://deno.land/x/bencodex@0.2.2/src/dict.ts";

A type guard predicate that checks if the given value is a RecordValue.

Parameters

The value to check.

Returns

value is RecordValue

true iff the given value is a RecordValue.