Skip to main content

@elizaos/core v1.0.0-beta.51 / StateValue

Type Alias: StateValue

StateValue: string | number | boolean | null | StateObject | StateArray

Defines the possible primitive types or structured types for a value within the agent's state. This type is used to provide more specific typing for properties within StateObject and StateArray, moving away from a generic 'any' type for better type safety and clarity in state management.

Defined in​

packages/core/src/types.ts:2216