import { fn } from "https://deno.land/x/ddu_vim@v4.0.0/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)