#typeof
Assembly info = typeof(int).Assembly;
Console.WriteLine(info);
September 30, 2025 at 6:00 AM
fun js

```js
0.1 + 0.2 // 0.30000000000000004
NaN === NaN // false
typeof null // "object"
[] == ![] // true
"5" + 3 // "53"
```
June 16, 2026 at 1:05 PM
Yes!! Whenever I’m stuck, feeling down, stressed or overwhelmed with any typeof project, a walk outside is the best thing to do.
September 25, 2026 at 9:10 PM
In my latest video over on @syntax.fm - I dive into the original Netscape C source code from 1998 to answer the question:

Why does typeof null === "object" in JavaScript?

Watch 🍿 www.youtube.com/watch?v=HApr...
Netscape Source Code Dive | Why is typeof null "object"?
YouTube video by Syntax
www.youtube.com
November 29, 2024 at 12:23 AM
if (technology.Complexity >= Sufficient) { typeof(technology) => Magic; }

- Arthur C# Clarke or something
September 24, 2026 at 6:26 PM
I laughed so hard.
My fav typeof movie 😁
May 20, 2026 at 12:14 PM
Don't do this kind of thing

(ref: string | undefined): string =>
ref === undefined ? 'DEFAULT' : ref

Do this kind of thing

(ref: string | undefined): string =>
typeof ref === 'string' ? ref : 'DEFAULT'
October 16, 2025 at 5:05 PM
Try this:

type ExtractedType = Omit<typeof obj[keyof typeof obj], "">
February 20, 2025 at 9:55 AM
@arktype.io is just beautiful ❤️
April 18, 2025 at 4:12 PM
@tanstack.com your isServer check is incorrectly running in web workers for query, router, etc.

the fix:

const isBrowser = typeof window !== 'undefined';
const isWebWorker = typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope;
const isServer = !isBrowser && !isWebWorker;
November 10, 2025 at 10:23 AM
Did you know that you can define a DebuggerDisplayAttribute for a type from another assembly? Just add an assembly-level attribute to your code and specify the Target type:

[assembly: DebuggerDisplay(@"\{Color = {Color}}", Target = typeof(Pen))]
December 11, 2024 at 7:30 AM
When @kizu.dev takes the upcoming CSS `@function` and `if()` for a spin, you know it’s going to be good:

codepen.io/kizu/pen/Eax...

🤯
typeof, type comparisons, etc
...
codepen.io
February 19, 2025 at 10:24 AM
June 3, 2026 at 4:44 PM
Year 2025. Still no way to check if a value is an object in JavaScript unless you

typeof x === 'object' && x != null

*sighs*

If anything, JS should contain checks for its _unorthodox_ types as a must.
September 20, 2025 at 1:05 PM
How can I force TypeScript to collapse identical unions?

const obj = {
a: {foo: 1},
b: {foo: 3},
};

type ExtractedType = typeof obj[keyof typeof obj];

I want this to yield { foo: number }, but I get { foo: number } | { foo: number } instead.

www.typescriptlang.org/play/#code/M...
TS Playground - An online editor for exploring TypeScript and JavaScript
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.
www.typescriptlang.org
February 20, 2025 at 9:15 AM
just had to type in `NonNullable<Awaited<ReturnType<typeof` im so gross
February 14, 2026 at 12:17 AM
typeof 4308367499n === 'bigint'
January 31, 2025 at 10:19 PM
typeof null = 'object' 💀
July 29, 2025 at 11:26 AM
what a crossover!
October 17, 2025 at 12:22 AM
yolo
September 27, 2026 at 8:23 AM
While doing some JS code golfing for a runtime that must be as small as possible, I came up with a cursed minification inspired by what esbuild uses to minify `typeof x === 'undefined'`

`x !== undefined && typeof x !== 'function'`

transformed into

`!(typeof x)[7]`
July 12, 2024 at 9:48 PM
lmfao, proposed change to V8 that would optimize `typeof x > "u"` for checking undefined values

chromium-review.googlesource.com/c/v8/v8/+/5218959
January 22, 2024 at 11:51 AM
alright that’s enough talking to slightly abnormal authors. for the REAL sickos: the iosevka font family is monospaced first but has proportional sans (Aile) and serif (Etoile) variants. typeof dot net slash iosevka. check it out
September 18, 2026 at 9:21 PM
i love this typeof mouth shape so much
January 7, 2026 at 9:43 PM
generics on "typeof <function>" has to have been one of my favorite TS updates
November 4, 2024 at 3:52 AM