Preview:```ts
type MyOptionalFunc = (
props?: number | undefined
) => void
type MyRequiredFunc = (
props: number | undefined
) => void
// Cannot touch above
type IsOptional = unknown // this exists just to help me explain
type IsParamOptional<
T extends MyOptionalFunc | MyRequiredFunc
= Parameters<T>[0] extends IsOptional ? true : false
...```
You can choose specific lines to embed by selecting them before copying the link.