Skip to content

DataObject

Namespace: Vercel.AI.Util

public sealed class DataObject

Object with an explicit constructor token and own properties. Used where JavaScript distinguishes prototypes and inherited names.

Inheritance: object

View source

public DataObject()

Creates an object whose constructor token is object.

View source

public object Constructor { get; set; }

Identity compared by Object) before properties.

Value: object

View source

public Dictionary<string, object> Properties { get; }

Own properties. Inherited names are not stored here.

Value: Dictionary<string, object>

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product