Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/steam_trader/types/protobuf.d.ts>Type#toObject

https://deno.land/x/steam_trader
Latest
method Type.prototype.toObject
import { Type } from "https://deno.land/x/steam_trader@v0.4.0/types/protobuf.d.ts";

Creates a plain object from a message of this type. Also converts values to other types if specified.

Parameters

message: Message<{ }>

Message instance

optional
options: IConversionOptions

Returns

{ [k: string]: any; }

Plain object