montagejs / collections

This package contains JavaScript implementations of common data structures with idiomatic interfaces.
http://www.collectionsjs.com
Other
2.09k stars 185 forks source link

List findValue is not a function #236

Open frenzymind opened 4 years ago

frenzymind commented 4 years ago

Hello. "collections": "5.1.9" Try to use list:

const List = require('collections/list');
const dialList = new List();
dialList.push('123);
const action = dialList.findValue('123');

But I see in console that th sis not a function. Caught exception: TypeError: dialList.findValue is not a function

What can I do with this ?