import { fn } from "https://deno.land/x/ddc_vim@v4.0.2/deps.ts";
const { get } = fn;
Get item {idx} from List
{list}. When this item is not
available return {default}. Return zero when {default} is
omitted.
Preferably used as a method
:
mylist->get(idx)