UNPKG

@litecanvas/utils

Version:

Utilities to help build litecanvas games

8 lines (7 loc) 123 B
/** * Gets the first value of an array * * @param {T[]} values * @returns {T} */ export default (values) => values[0]