{"ast":null,"code":"/**\n * Gets the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias first\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the first element of `array`.\n * @example\n *\n * _.head([1, 2, 3]);\n * // => 1\n *\n * _.head([]);\n * // => undefined\n */\nfunction head(array) {\n  return array && array.length ? array[0] : undefined;\n}\nexport default head;","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}