UNPKG

@ncoderz/superenum

Version:

Simple, typesafe enums in TypeScript, fully compatible with standard JavaScript

22 lines (11 loc) 597 B
[**@ncoderz/superenum**](../README.md) *** [@ncoderz/superenum](../globals.md) / HasValueOptions # Interface: HasValueOptions Defined in: [superenum.ts:49](https://github.com/ncoderz/superenum/blob/08c1c2419d89a58d6deeaad343b246571a3c3674/src/superenum.ts#L49) Options for the [Superenum.hasValue](Superenum.md#hasvalue) function ## Properties ### ignoreCase? > `optional` **ignoreCase**: `boolean` Defined in: [superenum.ts:53](https://github.com/ncoderz/superenum/blob/08c1c2419d89a58d6deeaad343b246571a3c3674/src/superenum.ts#L53) Ignore case when getting the enum key from the value