Closed
Description
Use case
The project has a series of helper functions that are used to assert the type of a value at runtime. So far we have covered only a few types but with the upcoming JMESPath utility we need to add several more.
These helper functions will be added to the commons package so that over time they can be adopted wherever necessary and remove code duplication.
Solution/User Experience
The helper functions should have a small footprint and have an isolated export so that they can be tree shaken and removed from bundle when not used.
Alternative solutions
No response
Acknowledgment
- This feature request meets Powertools for AWS Lambda (TypeScript) Tenets
- Should this be considered in other Powertools for AWS Lambda languages? i.e. Python, Java, and .NET
Future readers
Please react with 👍 and your use case to help us understand customer demand.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Shipped