Options
All
  • Public
  • Public/Protected
  • All
Menu

rxjs-toolkit

Index

Type aliases

DelayedCollectionTuple

DelayedCollectionTuple: [any, number]

Variables

Const falsyValues$

falsyValues$: Observable<undefined | null | string | number | false | true> = from(['', null, undefined, 0, false, NaN])

Const hasPropsErrorMessage

hasPropsErrorMessage: "Signal was missing required property. Check the interface of the signal for the properties being asked for." = "Signal was missing required property. Check the interface of the signal for the properties being asked for."

Const neverNullableErrorMessage

neverNullableErrorMessage: "Signal was nullable" = "Signal was nullable"

Const truthy$

truthy$: Observable<boolean> = of(true)

Functions

allPropsTruthy

  • allPropsTruthy<T>(o: T): boolean

delayedCollection

getTestScheduler

  • getTestScheduler(executionContext: ExecutionContext): TestScheduler

hasProps

  • hasProps<T>(...args: string[]): (Anonymous function)
  • Type parameters

    • T

    Parameters

    • Rest ...args: string[]

    Returns (Anonymous function)

hasPropsGuard

  • hasPropsGuard<T>(signal: T, args: string[]): boolean
  • Type parameters

    • T

    Parameters

    • signal: T
    • args: string[]

    Returns boolean

Const ignoreFalsySignals

  • ignoreFalsySignals(): (Anonymous function)

isNonNullable

  • isNonNullable<T>(signal: T): boolean

mapToDictionary

  • mapToDictionary<T>(idSelector?: string | function): OperatorFunction<T[], Dictionary<T>>

mapToList

  • mapToList<T>(): OperatorFunction<Dictionary<T>, T[]>

neverNullable

  • neverNullable<T>(source$: Observable<T>): Observable<NonNullable<T>>
  • Type parameters

    • T

    Parameters

    • source$: Observable<T>

    Returns Observable<NonNullable<T>>

Const objectKeys

  • objectKeys<S>(o: S): Array<keyof S>

pathNotTruthy

  • pathNotTruthy(object: object, path: string): boolean

Const pick

  • pick(...args: string[]): OperatorFunction<Object, object>
  • Parameters

    • Rest ...args: string[]

    Returns OperatorFunction<Object, object>

propsAreTruthy

  • propsAreTruthy(...paths: string[]): (Anonymous function)

spread

  • spread(): (Anonymous function)

stagger

  • stagger<T>(time?: number): OperatorFunction<T, T>

tapLog

  • tapLog(name?: undefined | string): (Anonymous function)

Object literals

Const falsy

falsy: object

test

test: string = ""

Const falsyTestedMultipleProps

falsyTestedMultipleProps: object

foo

foo: object

bar

bar: object

baz

baz: null = null

Const fixture

fixture: object

bar

bar: string = "bar"

baz

baz: string = "baz"

foo

foo: string = "foo"

orb

orb: object

rob

rob: string = "bro"

Const oneFalsyProp

oneFalsyProp: object

zab

zab: boolean = true

Const truthy

truthy: object

test

test: string = "test"

Generated using TypeDoc