Low-level type-centric utility functions for Javascript.