Test if the action is defined and matches one of the provided identifiers.
Action slot value ID
Action slot value IDs to match against
Test if the action matches one of the provided identifiers, or is undefined.
Action slot value ID
Test if the action matches one of the provided identifiers, or is undefined.
Action slot value ID
Action slot value IDs to match against
Test if the action is undefined.
Action slot value ID
Test if the feedback is defined
Feedback slot value ID
Test if the feedback is 'builtin_disaffirm'
Feedback slot value ID
Test if the feedback matches one of the provided identifiers, or is undefined.
Feedback slot value
Feedback slot value IDs to match against
Test if the feedback is 'builtin_affirm'
Feedback slot value ID
Test if the feedback is undefined
Feedback slot value ID
Extracts the value and erMatch array list from a ValueControlIntent
Input
Extracts the value and erMatch from a ValueControlIntent
Input
Test if the input is an Alexa.Presentation.APL.UserEvent and has arguments.
Input
Test if the input is an Alexa.Presentation.APL.UserEvent with a first argument equal to the provided control ID.
Input
the expected control ID
Test if the input is an Alexa.Presentation.APL.UserEvent with a first argument equal to the provided control ID and total argument length equal to the provided length.
Input
the expected control ID
the expected argument length
Test if the input is an Alexa.Presentation.APL.UserEvent with sourceId equal to the provided source ID.
Input
Test if the input is equivalent to simply saying "no".
Input
true if the input is:
AMAZON.NoIntent
, or,GeneralControlIntent
with feedback = builtin_disaffirm
and no other
filled.Test if the input is equivalent to simply saying "yes".
Input
true if the input is:
AMAZON.YesIntent
, or,GeneralControlIntent
with feedback = builtin_affirm
and no other
filled.Test if the input is an AMAZON.FallbackIntent.
Input
Test if the input is an IntentRequest (and optionally a specific Intent).
Input
a specific intent name
Test and assert if an object looks like an Intent. (user-defined type guard)
Test if the input is a LaunchRequest.
Input
Test if the input is a SessionEndedRequest.
Input
Test if the input is a ValueControlIntent for the provided slotType.
Input
Test if the slot value matches one of the provided identifiers, or is undefined.
Slot value ID
Slot value IDs to match against
Test if the feedback is defined.
Target slot value ID
Test if the target is defined and matches one of the provided identifiers.
Target slot value ID
Target slot value IDs to match against
Test if the target matches one of the provided identifiers, or is undefined.
Target slot value ID
Target slot value IDs to match against
Test if the feedback is undefined.
Target slot value ID
Test if the value is defined.
A value of '?' is interpreted as being equal to undefined. (A value of '?' is produced by NLU when slot elicitation is used but the response cannot be understood.)
Value
Test if the value is undefined.
A value of '?' is interpreted as being equal to undefined. (A value of '?' is produced by NLU when slot elicitation is used but the response cannot be understood.)
Value
Test if the valueType is undefined.
ValueType slot value ID
Test if the valueType is defined and matches the provided identifier.
ValueType slot value ID
ValueType slot value ID to match against
Utilities to assist with input handling.