Options
All
  • Public
  • Public/Protected
  • All
Menu

Use to execute a rule set for any push to resolve to an object. The value from the first matching rule will be used.

Type parameters

  • V

Hierarchy

  • PushRules

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

choices

choices: Array<PushMapping<V>> = []

Readonly name

name: string

Private Readonly rules

rules: Array<PushMapping<V>>

Array of rules. Passing an empty array will result in an instance that always maps to undefined, and is not an error.

Accessors

structure

Methods

add

filter

mapping

Generated using TypeDoc