Robust type checking utilities for common JavaScript types and patterns.