# tsafe

## tsafe

- [What is tsafe?](https://docs.tsafe.dev/readme.md)
- [How to import](https://docs.tsafe.dev/import.md): Recommended way to import tsafe
- [assert](https://docs.tsafe.dev/assert.md)
- [Equals](https://docs.tsafe.dev/equals.md): Let you test if two types are the same
- [id](https://docs.tsafe.dev/id.md): The identity function
- [is](https://docs.tsafe.dev/is.md)
- [objectKeys](https://docs.tsafe.dev/objectkeys.md): Like Object.keys() but with a better return type
- [exclude](https://docs.tsafe.dev/exclude.md): Returns a function that you can use as the argument for Array.prototype.filter to exclude one or more primitive values from an array.
- [isAmong](https://docs.tsafe.dev/isamong.md)
- [symToStr](https://docs.tsafe.dev/symtostr.md): Get the name of a symbol as typed string.
- [ReturnType](https://docs.tsafe.dev/returntype.md): Like the builtin helper but more convenient to use.
- [Parameters](https://docs.tsafe.dev/parameters.md)
- [Param0](https://docs.tsafe.dev/param0.md): Get a function's first parameter
- [typeGuard](https://docs.tsafe.dev/typeguard.md)
- [capitalize/uncapitalize](https://docs.tsafe.dev/capitalize.md): Runtime implementation of the Capitalize helper type.
- [MethodNames](https://docs.tsafe.dev/methodnames.md): This utility type takes an Api interface as type argument and returns a union type of all the property names whose values are functions.
- [isPromiseLike](https://docs.tsafe.dev/ispromiselike.md)
- [flip](https://docs.tsafe.dev/flip.md): Flip the value of a boolean without having to reference it twice.
- [objectEntries](https://docs.tsafe.dev/objectentries.md): Like Object.entries() but with a better return type.
- [objectFromEntries](https://docs.tsafe.dev/objectfromentries.md): Like Object.fromEntries() but with a better return type
- [UnionToIntersection](https://docs.tsafe.dev/uniontointersection.md)
- [withDefaults](https://docs.tsafe.dev/withdefaults.md): Like Function.prototype.bind() but for a function that  receives their parameters wrapped in an object.
- [UnpackPromise](https://docs.tsafe.dev/unpackpromise.md): Deprecated. Extract the packed type of a Promise
