()
| 18 | ]; |
| 19 | |
| 20 | export const handler: Handler<any, UserResult> = async (): Promise<UserResult> => { |
| 21 | |
| 22 | let out = _.findLastIndex(users, (user: User) => { return user.user == 'Pat'; }); |
| 23 | const response = { |
| 24 | statusCode: 200, |
| 25 | body: JSON.stringify(out + ", " + users[out].user), |
| 26 | }; |
| 27 | return response; |
| 28 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected