Serializer.prototype.writeValue - Node documentation
method Serializer.prototype.writeValue

Usage

import { Serializer } from "node:v8";

Serializes a JavaScript value and adds the serialized representation to the internal buffer.

This throws an error if value cannot be serialized.

Parameters

val: any

Return Type

boolean