Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/api/mapping/Mapping"

Index

Type aliases

Mapper

Mapper: function

Mapping function from F to V

Type declaration

MappingResult

MappingResult: Promise<V | undefined | NeverMatch>

Result of a Mapper. A result of the desired type if we match. undefined if we don't match. Return DoNotSetAnyGoals (null) to shortcut evaluation of the present set of rules, terminating evaluation and guarantee the return of undefined if we've reached this point. Only do so if you are sure

NeverMatch

NeverMatch: null

Functions

isExplicableMapping

  • isExplicableMapping<F, V>(input: Mapping<F, V>): boolean

isMapping

  • isMapping(a: any): boolean

mapMapping

Generated using TypeDoc