UNPKG

@dfinity/gix-components

Version:
2 lines (1 loc) 93 B
export const enumFromStringExists = ({ obj, value, }) => Object.values(obj).includes(value);