Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "view"

Index

Classes

Functions

Functions

defView

  • defView<T, R>(parent: ReadonlyAtom<T>, path: Path0, tx?: Fn<T, R>, lazy?: undefined | false | true, equiv?: Predicate2<T>): View<R extends undefined ? T : R>
  • defView<T, A, R>(parent: ReadonlyAtom<T>, path: Path1<T, A>, tx?: Fn<OptPathVal<T, [A]>, R>, lazy?: undefined | false | true, equiv?: Predicate2<OptPathVal<T, [A]>>): View<R extends undefined ? OptPathVal<T, [A]> : R>
  • defView<T, A, B, R>(parent: ReadonlyAtom<T>, path: Path2<T, A, B>, tx?: Fn<OptPathVal<T, [A, B]>, R>, lazy?: undefined | false | true, equiv?: Predicate2<OptPathVal<T, [A, B]>>): View<R extends undefined ? OptPathVal<T, [A, B]> : R>
  • defView<T, A, B, C, R>(parent: ReadonlyAtom<T>, path: Path3<T, A, B, C>, tx?: Fn<OptPathVal<T, [A, B, C]>, R>, lazy?: undefined | false | true, equiv?: Predicate2<OptPathVal<T, [A, B, C]>>): View<R extends undefined ? OptPathVal<T, [A, B, C]> : R>
  • defView<T, A, B, C, D, R>(parent: ReadonlyAtom<T>, path: Path4<T, A, B, C, D>, tx?: Fn<OptPathVal<T, [A, B, C, D]>, R>, lazy?: undefined | false | true, equiv?: Predicate2<OptPathVal<T, [A, B, C, D]>>): View<R extends undefined ? OptPathVal<T, [A, B, C, D]> : R>
  • defView<T, A, B, C, D, E, R>(parent: ReadonlyAtom<T>, path: Path5<T, A, B, C, D, E>, tx?: Fn<OptPathVal<T, [A, B, C, D, E]>, R>, lazy?: undefined | false | true, equiv?: Predicate2<OptPathVal<T, [A, B, C, D, E]>>): View<R extends undefined ? OptPathVal<T, [A, B, C, D, E]> : R>
  • defView<T, A, B, C, D, E, F, R>(parent: ReadonlyAtom<T>, path: Path6<T, A, B, C, D, E, F>, tx?: Fn<OptPathVal<T, [A, B, C, D, E, F]>, R>, lazy?: undefined | false | true, equiv?: Predicate2<OptPathVal<T, [A, B, C, D, E, F]>>): View<R extends undefined ? OptPathVal<T, [A, B, C, D, E, F]> : R>
  • defView<T, A, B, C, D, E, F, G, R>(parent: ReadonlyAtom<T>, path: Path7<T, A, B, C, D, E, F, G>, tx?: Fn<OptPathVal<T, [A, B, C, D, E, F, G]>, R>, lazy?: undefined | false | true, equiv?: Predicate2<OptPathVal<T, [A, B, C, D, E, F, G]>>): View<R extends undefined ? OptPathVal<T, [A, B, C, D, E, F, G]> : R>
  • defView<T, A, B, C, D, E, F, G, H, R>(parent: ReadonlyAtom<T>, path: Path8<T, A, B, C, D, E, F, G, H>, tx?: Fn<OptPathVal<T, [A, B, C, D, E, F, G, H]>, R>, lazy?: undefined | false | true, equiv?: Predicate2<OptPathVal<T, [A, B, C, D, E, F, G, H]>>): View<R extends undefined ? OptPathVal<T, [A, B, C, D, E, F, G, H]> : R>
  • defView<T, A, B, C, D, E, F, G, H, R>(parent: ReadonlyAtom<T>, path: DeepPath<T, A, B, C, D, E, F, G, H>, tx?: Fn<any, R>, lazy?: undefined | false | true, equiv?: Predicate2<any>): View<R extends undefined ? any : R>
  • Type parameters

    • T

    • R

    Parameters

    • parent: ReadonlyAtom<T>
    • path: Path0
    • Optional tx: Fn<T, R>
    • Optional lazy: undefined | false | true
    • Optional equiv: Predicate2<T>

    Returns View<R extends undefined ? T : R>

  • Type parameters

    • T

    • A

    • R

    Parameters

    • parent: ReadonlyAtom<T>
    • path: Path1<T, A>
    • Optional tx: Fn<OptPathVal<T, [A]>, R>
    • Optional lazy: undefined | false | true
    • Optional equiv: Predicate2<OptPathVal<T, [A]>>

    Returns View<R extends undefined ? OptPathVal<T, [A]> : R>

  • Type parameters

    • T

    • A

    • B

    • R

    Parameters

    • parent: ReadonlyAtom<T>
    • path: Path2<T, A, B>
    • Optional tx: Fn<OptPathVal<T, [A, B]>, R>
    • Optional lazy: undefined | false | true
    • Optional equiv: Predicate2<OptPathVal<T, [A, B]>>

    Returns View<R extends undefined ? OptPathVal<T, [A, B]> : R>

  • Type parameters

    • T

    • A

    • B

    • C

    • R

    Parameters

    • parent: ReadonlyAtom<T>
    • path: Path3<T, A, B, C>
    • Optional tx: Fn<OptPathVal<T, [A, B, C]>, R>
    • Optional lazy: undefined | false | true
    • Optional equiv: Predicate2<OptPathVal<T, [A, B, C]>>

    Returns View<R extends undefined ? OptPathVal<T, [A, B, C]> : R>

  • Type parameters

    • T

    • A

    • B

    • C

    • D

    • R

    Parameters

    • parent: ReadonlyAtom<T>
    • path: Path4<T, A, B, C, D>
    • Optional tx: Fn<OptPathVal<T, [A, B, C, D]>, R>
    • Optional lazy: undefined | false | true
    • Optional equiv: Predicate2<OptPathVal<T, [A, B, C, D]>>

    Returns View<R extends undefined ? OptPathVal<T, [A, B, C, D]> : R>

  • Type parameters

    • T

    • A

    • B

    • C

    • D

    • E

    • R

    Parameters

    • parent: ReadonlyAtom<T>
    • path: Path5<T, A, B, C, D, E>
    • Optional tx: Fn<OptPathVal<T, [A, B, C, D, E]>, R>
    • Optional lazy: undefined | false | true
    • Optional equiv: Predicate2<OptPathVal<T, [A, B, C, D, E]>>

    Returns View<R extends undefined ? OptPathVal<T, [A, B, C, D, E]> : R>

  • Type parameters

    • T

    • A

    • B

    • C

    • D

    • E

    • F

    • R

    Parameters

    • parent: ReadonlyAtom<T>
    • path: Path6<T, A, B, C, D, E, F>
    • Optional tx: Fn<OptPathVal<T, [A, B, C, D, E, F]>, R>
    • Optional lazy: undefined | false | true
    • Optional equiv: Predicate2<OptPathVal<T, [A, B, C, D, E, F]>>

    Returns View<R extends undefined ? OptPathVal<T, [A, B, C, D, E, F]> : R>

  • Type parameters

    • T

    • A

    • B

    • C

    • D

    • E

    • F

    • G

    • R

    Parameters

    • parent: ReadonlyAtom<T>
    • path: Path7<T, A, B, C, D, E, F, G>
    • Optional tx: Fn<OptPathVal<T, [A, B, C, D, E, F, G]>, R>
    • Optional lazy: undefined | false | true
    • Optional equiv: Predicate2<OptPathVal<T, [A, B, C, D, E, F, G]>>

    Returns View<R extends undefined ? OptPathVal<T, [A, B, C, D, E, F, G]> : R>

  • Type parameters

    • T

    • A

    • B

    • C

    • D

    • E

    • F

    • G

    • H

    • R

    Parameters

    • parent: ReadonlyAtom<T>
    • path: Path8<T, A, B, C, D, E, F, G, H>
    • Optional tx: Fn<OptPathVal<T, [A, B, C, D, E, F, G, H]>, R>
    • Optional lazy: undefined | false | true
    • Optional equiv: Predicate2<OptPathVal<T, [A, B, C, D, E, F, G, H]>>

    Returns View<R extends undefined ? OptPathVal<T, [A, B, C, D, E, F, G, H]> : R>

  • Type parameters

    • T

    • A

    • B

    • C

    • D

    • E

    • F

    • G

    • H

    • R

    Parameters

    • parent: ReadonlyAtom<T>
    • path: DeepPath<T, A, B, C, D, E, F, G, H>
    • Optional tx: Fn<any, R>
    • Optional lazy: undefined | false | true
    • Optional equiv: Predicate2<any>

    Returns View<R extends undefined ? any : R>

defViewUnsafe

  • defViewUnsafe<T>(parent: ReadonlyAtom<any>, path: Path, tx?: Fn<any, T>, lazy?: undefined | false | true, equiv?: Predicate2<any>): View<T extends undefined ? any : T>
  • Type parameters

    • T

    Parameters

    • parent: ReadonlyAtom<any>
    • path: Path
    • Optional tx: Fn<any, T>
    • Optional lazy: undefined | false | true
    • Optional equiv: Predicate2<any>

    Returns View<T extends undefined ? any : T>

Generated using TypeDoc