Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ILinkConditionalMutable

Provides evaluation of the context to determine the formation to move to

Hierarchy

Implemented by

Index

Properties

conditions

conditions: object

The conditions to determine which formation to move to. These can use any of the data from the context. It will be {@link Processor} implementation specific what data is available in the context

example
{
  "correct / answered >= 0.7": "60d5215e-ddb5-49bc-8726-38cfd734ab66",
  "correct / answered < 0.7": "7b5aee31-e0ee-43a0-bd3b-cc1bf8b78b5c"
}

Type declaration

fallback

fallback: string | IGuidMutable | ILinkConditionalNestedMutable

The formation to move to if none of the conditionals evalutate

Optional redirect

redirect: string | IGuidMutable

type

type: Type.Conditional

The type is immutable as all constructed links cannot mutate into another derived type