@ncoderz/superenum
Version:
Simple, typesafe enums in TypeScript, fully compatible with standard JavaScript
22 lines (11 loc) • 593 B
Markdown
[**@ncoderz/superenum**](../README.md)
***
[@ncoderz/superenum](../globals.md) / FromKeyOptions
# Interface: FromKeyOptions
Defined in: [superenum.ts:19](https://github.com/ncoderz/superenum/blob/08c1c2419d89a58d6deeaad343b246571a3c3674/src/superenum.ts#L19)
Options for the [Superenum.fromKey](Superenum.md#fromkey) function
## Properties
### ignoreCase?
> `optional` **ignoreCase**: `boolean`
Defined in: [superenum.ts:23](https://github.com/ncoderz/superenum/blob/08c1c2419d89a58d6deeaad343b246571a3c3674/src/superenum.ts#L23)
Ignore case when getting the enum value from the key