UNPKG

@wmfs/asl-choice-processor

Version:

For determining the next state given an Amazon States Language 'Choices' definition and a set of values.

10 lines (8 loc) 247 B
'use strict' module.exports = function numericGreaterThanEqualsOperator (inputValue, comparisonValue, candidateStateName, cache) { let nextState if (inputValue >= comparisonValue) { nextState = candidateStateName } return nextState }