import { first } from "https://deno.land/x/ayonli_jsext@v0.9.72/esm/array/index.js";
Returns the first element of the array, or undefined
if the array is empty.
This function is equivalent to arr[0]
or arr.at(0)
.
import { first } from "https://deno.land/x/ayonli_jsext@v0.9.72/esm/array/index.js";
Returns the first element of the array, or undefined
if the array is empty.
This function is equivalent to arr[0]
or arr.at(0)
.