assert

TypeScript assertion function for runtime type narrowing with descriptive error messages. Based on tiny-invariant.