values
优质
小牛编辑
136浏览
2023-12-01
Returns a Sequence whose elements are the values of this object-like sequence.
Signature
ObjectLikeSequence.values = function() { /*...*/ }
ObjectLikeSequence.values = function values() { return new ValuesSequence(this); }
Name | Type(s) | Description |
---|---|---|
returns | Sequence | The sequence based on this sequence's values. |
Examples
Lazy({ hello: "hola", goodbye: "hasta luego" }).values() // sequence: ["hola", "hasta luego"]