near-runtime-ts | Typescript library for writing near smart | Binary Executable Format library
kandi X-RAY | near-runtime-ts Summary
kandi X-RAY | near-runtime-ts Summary
Typescript library for writing near smart contracts
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of near-runtime-ts
near-runtime-ts Key Features
near-runtime-ts Examples and Code Snippets
Community Discussions
Trending Discussions on near-runtime-ts
QUESTION
I created a persistent map and set a key/value pair; however when I try to later retrieve an array of values using .values
, an empty array with 0 items in it is returned.
I double checked to see if the keys I'm searching for are contained, and they are.
Here's my code:
let members = new PersistentMap('memberss');
members.set(summoner , member2)
let numMembers = members.values(`satosh`, `rico`, -1, true);
ANSWER
Answered 2019-Sep-13 at 22:52I've just tried to use values and works for me. Here is the example that I used: https://studio.nearprotocol.com/?f=ifvnwzwpa
Snippets:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install near-runtime-ts
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page