// Give me examples of building your own custom type helpers in TypeScript.
// Give me examples that are useful for application development.
// Give me JUST the code examples for each, without explanations or headings.
