UNPKG

@ncoderz/superenum

Version:

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

22 lines (11 loc) 589 B
[**@ncoderz/superenum**](../README.md) *** [@ncoderz/superenum](../globals.md) / HasKeyOptions # Interface: HasKeyOptions Defined in: [superenum.ts:39](https://github.com/ncoderz/superenum/blob/08c1c2419d89a58d6deeaad343b246571a3c3674/src/superenum.ts#L39) Options for the [Superenum.hasKey](Superenum.md#haskey) function ## Properties ### ignoreCase? > `optional` **ignoreCase**: `boolean` Defined in: [superenum.ts:43](https://github.com/ncoderz/superenum/blob/08c1c2419d89a58d6deeaad343b246571a3c3674/src/superenum.ts#L43) Ignore case when getting the enum key from the value