Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

is-some-enum

funtal99MIT1.0.1TypeScript support: included

Generic type guard to check if a given value is a member of enum

funtal, type-safe, playerony, isSomeEnum, typescript, type-guard, functional, Typescript, is-some-enum, isSomeEnumOf, isSomeEnumOfType, isSomeEnumOfTypeSafe, is-some-enum-type-guard, type-guard-for-string-enum, isSomeEnumOfTypeForStringEnum, is-some-enum-type-guard-for-string-enum

readme

Welcome to is-some-enum 👋

Generic type guard to check if a given value is a member of enum.

alt Version alt License: MIT alt Twitter: twitter.com/WojtasinskiPawe

usage-example-1

Documentation

Usage

Install

npm i is-some-enum

or

yarn add is-some-enum

Simple function example

simple-function-example

Authors

👤 Paweł Wojtasiński

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if this project helped you!

PixelShiba