-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Margin: Check Zero or Truth Values for Margin (#29)
* refactor: remove unused import Signed-off-by: K-Kumar-01 <[email protected]> * feat: add util to check zero or truthy value Signed-off-by: K-Kumar-01 <[email protected]> * fix: margin attributes building Signed-off-by: K-Kumar-01 <[email protected]> * docs: update example for lists Signed-off-by: K-Kumar-01 <[email protected]> --------- Signed-off-by: K-Kumar-01 <[email protected]>
- Loading branch information
1 parent
08be315
commit 7c133d8
Showing
3 changed files
with
41 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export const isZeroOrTruthy = (value) => { | ||
return value === 0 || !!value; | ||
} |