• Preparing search index...
  • The search index is not available
value-enhancer - v5.5.3
  • value-enhancer
  • index
  • val

Function val

  • val<TValue>(): Val<undefined | TValue>
  • Creates a writable val.

    Type Parameters

    • TValue = any

    Returns Val<undefined | TValue>

    A val with undefined value.

    • Defined in src/val.ts:214
  • val(value, config?): Val<any[]>
  • Creates a writable val.

    Parameters

    • value: []

      Initial value.

    • Optional config: ValConfig<any[]>

      Optional custom config.

    Returns Val<any[]>

    • Defined in src/val.ts:214
  • val<TValue>(value, config?): Val<NoInfer<TValue>>
  • Creates a writable val.

    Type Parameters

    • TValue = any

    Parameters

    • value: TValue

      Initial value.

    • Optional config: ValConfig<TValue>

      Optional custom config.

    Returns Val<NoInfer<TValue>>

    • Defined in src/val.ts:214
  • val<TValue>(value?, config?): Val<NoInfer<TValue>>
  • Creates a writable val.

    Type Parameters

    • TValue = any

    Parameters

    • Optional value: TValue

      Initial value.

    • Optional config: ValConfig<undefined | TValue>

      Optional custom config.

    Returns Val<NoInfer<TValue>>

    • Defined in src/val.ts:214

Settings

Theme

value-enhancer - v5.5.3
  • Loading...