Skip to content

Commit 03cca52

Browse files
authored
Update README.md
1 parent 82e09cb commit 03cca52

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ from syntax_sugar import is_a, has, to, step, drop
118118
1 /is_a/ int
119119
# equivalent to `isinstance(1, int)`
120120

121+
1 /as_a/ str
122+
# "1"
123+
121124
range(10) /has/ '__iter__'
122125
# equivalent to `hasattr(range(10), "__iter__")`
123126

0 commit comments

Comments
 (0)