Skip to content

Add isLaunchRequest()

Compare
Choose a tag to compare
@hideokamoto hideokamoto released this 10 Dec 14:59
· 198 commits to master since this release

Today, we can easy to make canHandle method by isLaunchRequest.

before

const LaunchRequestHandler = {
  canHandle (handlerInput) {
    return canHandle(handlerInput, 'LaunchRequest')
  },

after

const LaunchRequestHandler = {
  canHandle (handlerInput) {
    return isLaunchRequest(handlerInput)
  },