@@ -7,6 +7,7 @@ version: 1.1.3
77generated : true
88stability : stable
99---
10+
1011<!-- Autogenerated from JSR docs. Do not edit directly. -->
1112
1213## Overview
@@ -18,8 +19,8 @@ objects.</p>
1819package and <a href =" https://lodash.com/ " rel =" nofollow " >Lodash</a >.</p >
1920
2021``` js
21- import { intersect , sample , pick } from " @std/collections" ;
22- import { assertEquals , assertArrayIncludes } from " @std/assert" ;
22+ import { intersect , pick , sample } from " @std/collections" ;
23+ import { assertArrayIncludes , assertEquals } from " @std/assert" ;
2324
2425const lisaInterests = [" Cooking" , " Music" , " Hiking" ];
2526const kimInterests = [" Music" , " Tennis" , " Cooking" ];
@@ -30,7 +31,7 @@ assertArrayIncludes(lisaInterests, [sample(lisaInterests)]);
3031
3132const cat = { name: " Lulu" , age: 3 , breed: " Ragdoll" };
3233
33- assertEquals (pick (cat, [" name" , " breed" ]), { name: " Lulu" , breed: " Ragdoll" });
34+ assertEquals (pick (cat, [" name" , " breed" ]), { name: " Lulu" , breed: " Ragdoll" });
3435```
3536
3637### Add to your project
@@ -39,10 +40,12 @@ assertEquals(pick(cat, ["name", "breed"]), { name: "Lulu", breed: "Ragdoll"});
3940deno add jsr:@std/collections
4041```
4142
42- <a href =" https://jsr.io/@std/collections/doc " class =" docs-cta jsr-cta " >See all symbols in @std/collections on
43+ <a href =" https://jsr.io/@std/collections/doc " class =" docs-cta jsr-cta " >See all
44+ symbols in @std/collections on
4345<svg class =" inline ml-1 " viewBox =" 0 0 13 7 " aria-hidden =" true " height =" 20 " ><path d =" M0,2h2v-2h7v1h4v4h-2v2h-7v-1h-4 " fill =" #083344 " ></path ><g fill =" #f7df1e " ><path d =" M1,3h1v1h1v-3h1v4h-3 " ></path ><path d =" M5,1h3v1h-2v1h2v3h-3v-1h2v-1h-2 " ></path ><path d =" M9,2h3v2h-1v-1h-1v3h-1 " ></path ></g ></svg ></a >
4446
4547<!-- custom:start -->
48+
4649## What are collection types?
4750
4851Collection types are data structures that hold multiple values, such as arrays
@@ -150,4 +153,5 @@ console.log(
150153
151154- Functions are pure and data-first; they don’t mutate your inputs.
152155- Prefer these primitives to keep dependencies light and code clear.
156+
153157<!-- custom:end -->
0 commit comments