• True if value is a member of the given enum.

    Parameters

    • value: unknown
    • enumObj: Record<string, unknown>

    Returns boolean