Skip to main content
Deno 2 is finally here 🎉️
Learn more
method ProbabilityObjectArray.prototype.data
import { ProbabilityObjectArray } from "https://deno.land/x/sptaki@1.2.0/utils/mod.ts";

Return the data field of a element of the ProbabilityObjectArray

Parameters

key: K

The key of the element whose data shall be retrieved

Returns

V

The data object