-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add typeAt
function for inspecting the type of objects in storage
#1254
Conversation
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:master commit 0e7825d Results
|
Codecov Report
@@ Coverage Diff @@
## master #1254 +/- ##
==========================================
+ Coverage 77.31% 77.32% +0.01%
==========================================
Files 274 274
Lines 35347 35372 +25
==========================================
+ Hits 27327 27350 +23
- Misses 6941 6943 +2
Partials 1079 1079
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Just one small issue in the documentation, but should be good to merge after
Co-authored-by: Bastian Müller <[email protected]>
Closes #1246
Description
Adds a method to
AuthAccount
s to inspect the type of an object in storage:if the storage path is empty, the function returns nil. Otherwise, it returns the type of the value stored there.
master
branchFiles changed
in the Github PR explorer