%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/node_modules/jsx-ast-utils/src/values/expressions/
Upload File :
Create Path :
Current File : /var/www/html/node_modules/jsx-ast-utils/src/values/expressions/ArrayExpression.js

/**
 * Extractor function for an ArrayExpression type value node.
 * An array expression is an expression with [] syntax.
 *
 * @returns - An array of the extracted elements.
 */
export default function extractValueFromArrayExpression(value) {
  // eslint-disable-next-line global-require
  const getValue = require('.').default;
  return value.elements.map((element) => getValue(element));
}

Zerion Mini Shell 1.0