@cool-utils/length
v1.0.0
Published
Gets the length of a array/string.
Readme
@cool-utils/length
Gets the length of a array/string.
import { getLength, getHighestIndex } from "@cool-utils/length"
getLength([1, 2, 3, 2, 1]) // 5
getHighestIndex([20, 50, 30]) // 2