@bemoje/assert-type
Perform easy type-checks with a simple type assertion.
Perform easy type-checks with a simple type assertion.
Throws a TypeError with a generated error message with ANSI-colors for easier console output readability.
Creates an error-message string with ANSI-colors to make it easy to spot in the console.