Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ArrowFunctionExpression.php

ArrowFunctionExpression::$expression

This flag is true when function body is wrapped in curly braces

Type: bool

File

vendor/mck89/peast/lib/Peast/Syntax/Node/ArrowFunctionExpression.php, line 34

Class

ArrowFunctionExpression
A node that represents an arrow function. For example: var fn = (a, b) => console.log(a, b)

Namespace

Peast\Syntax\Node

Code

protected $expression = false;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal