kindof (npm): A proper typeof that works with primitives, built-in value objects and those from other execution contexts.
Keywords: kind|tostring|type|typeof