UNPKG

@ncoderz/superenum

Version:

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

22 lines (11 loc) 613 B
[**@ncoderz/superenum**](../README.md) *** [@ncoderz/superenum](../globals.md) / KeyFromValueOptions # Interface: KeyFromValueOptions Defined in: [superenum.ts:29](https://github.com/ncoderz/superenum/blob/08c1c2419d89a58d6deeaad343b246571a3c3674/src/superenum.ts#L29) Options for the [Superenum.keyFromValue](Superenum.md#keyfromvalue) function ## Properties ### ignoreCase? > `optional` **ignoreCase**: `boolean` Defined in: [superenum.ts:33](https://github.com/ncoderz/superenum/blob/08c1c2419d89a58d6deeaad343b246571a3c3674/src/superenum.ts#L33) Ignore case when getting the enum key from the value