@bemoje/throw-type-error
Throws a TypeError with a generated error message with ANSI-colors for easier console output readability.
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.
Perform easy type-checks with a simple type assertion.