Options
All
  • Public
  • Public/Protected
  • All
Menu

Module src/core/object/watch/engines/helpers

Index

Functions

  • getOrCreateLabelValueByHandlers<T>(obj: object, label: string | symbol, handlers: WatchHandlersSet): CanUndef<T>
  • getOrCreateLabelValueByHandlers<T>(obj: object, label: string | symbol, handlers: WatchHandlersSet, def: unknown): T
  • getProxyType(obj: unknown): Nullable<string>
  • Returns a value to the proxy from the specified raw value

    Parameters

    • rawValue: unknown
    • key: unknown

      property key for a value

    • path: CanUndef<unknown[]>

      base path to object properties: it is provided to a watch handler with parameters

    • handlers: WatchHandlersSet

      set of registered handlers

    • root: object

      link to the root object of watching

    • Optional top: object
    • Optional opts: InternalWatchOptions

    Returns unknown

  • isProxy(value: unknown): value is object
  • unwrap(value: unknown): CanUndef<object>