Statements (16)
Predicate | Object |
---|---|
gptkbp:instanceOf |
JavaScript function
|
gptkbp:category |
gptkb:library
|
gptkbp:describes |
Returns a random sample of n elements from a collection.
|
gptkbp:documentation |
https://lodash.com/docs/4.17.15#sampleSize
|
gptkbp:example |
_.sampleSize([1, 2, 3], 2) // => [3, 1]
|
https://www.w3.org/2000/01/rdf-schema#label |
lodash.sampleSize
|
gptkbp:input |
gptkb:library
Array Number |
gptkbp:introducedIn |
3.0.0
|
gptkbp:partOf |
gptkb:Lodash
|
gptkbp:result |
Array
|
gptkbp:usedIn |
gptkb:JavaScript
gptkb:Node.js |
gptkbp:bfsParent |
gptkb:lodash
|
gptkbp:bfsLayer |
6
|