%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/SequenceExpression.js

/**
 * Extractor function for a SequenceExpression type value node.
 * A Sequence expression is an object with an attribute named
 * expressions which contains an array of different types
 *  of expression objects.
 *
 * @returns - An array of the extracted elements.
 */
export default function extractValueFromSequenceExpression(value) {
  // eslint-disable-next-line global-require
  const getValue = require('.').default;
  return value.expressions.map((element) => getValue(element));
}

Zerion Mini Shell 1.0