Array
Get the first item from a list
Given an array of items return the first item or a default value if no items exists.
import { first } from 'radash' const gods = ['ra', 'loki', 'zeus'] first(gods) // => 'ra' first([], 'vishnu') // => 'vishnu'