Skip to content

StateEffectDefineSpec<Value>

Unofficial

Configuration for defining a state effect type.

Import:

import type { StateEffectDefineSpec } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface StateEffectDefineSpec<Value>

Methods

Method Returns Description
map(value, mapping) undefined | Value A function to map the effect value through position changes.