The list to be checked.
Whether the list has a current element.
import { empty, isNull, repeat } from "./list.ts";
import { assertEquals } from "../deps.ts";
assertEquals(isNull(empty()), true);
assertEquals(isNull(repeat(0)), false);
Generated using TypeDoc
Checks whether the list has a current element.