Skip to content

ValueWrapper<T = unknown>

Wrapper type for storing values.

Import:

import { ValueWrapper } from 'obsidian-dev-utils/value-wrapper';

Signature:

export class ValueWrapper<T = unknown>

Methods

MethodReturnsDescription
static of(value)ValueWrapper<T>Make wrapper from the value.
static unset()ValueWrapper<T>Make the wrapper with unset value.

Links to this page: