toBoolean is an alias for isTrue #120
Closed
kalisjoshua
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Suggestion, replace
toBoolean
from@accelint/converters
withisTrue
from@accelint/predicates
rather than have a module wrapping another with no additional logic.This - https://github.com/gohypergiant/standard-toolkit/blob/main/packages/design-system/src/components/drawer/drawer.tsx#L1 - is the only place I see
toBoolean
being used.Beta Was this translation helpful? Give feedback.
All reactions