Predicate isArrayConstant
Holds if the control flow node e refers to an array constructed from the
array literal arr.
Example:
[1, 2, 3]
C = [1, 2, 3]; C
x = [1, 2, 3]; x
Import path
import codeql.ruby.ast.internal.Constantpredicate isArrayConstant(ExprCfgNode e, ArrayLiteralCfgNode arr)