import { of } from "https://deno.land/x/fun@v2.0.0-alpha.6/array.ts";
Create a NonEmptyArray conuaining the value A.
Examples
Example 1
Example 1
import * as A from "./array.ts";
const result = A.of(1); // [1] of type NonEmptyArray<number>
Parameters
a: A