Positional
import { first, second, third, last } from 'op-array/positional';Each returns T | undefined so empty-array handling is surfaced at the
type level.
first([10, 20, 30]); // 10second([10, 20, 30]); // 20third([10, 20, 30]); // 30last([10, 20, 30]); // 30
first([]); // undefinedlast([10]); // 10