This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
feature: Implement type guard in the isEnum() function #2300
Labels
flag: needs discussion
Issues which needs discussion before implementation.
type: feature
Issues related to new features.
Uh oh!
There was an error while loading. Please reload this page.
Description
The
isEnum()
function does not implement type guard.This is inconvenient when writing code like the following
Proposed solution
A type guard should be implemented in the isEnum() function.
I am now wrapping the
isEnum()
function in the type guard function myself.The text was updated successfully, but these errors were encountered: