Socket
Book a DemoInstallSign in
Socket

github.com/pulover/eval

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/pulover/eval

v1.2.8
Source
Go
Version published
Created
Source

Eval()

Evaluate Expressions Dynamically in Strings.

Credits

ExprEval() by Uberi

Return

An array (object) with the result of each expression.

Parameters

String:

The input string to be evaluated. You can enter multiple expressions separated by commas (inside the string).

CustomVars [optional]

An Associative Array object containing variables names as keys and values to replace them. For example, setting it to {A_Index: A_Index} inside a loop will replace occurrences of A_Index with the correct value for the iteration.

FAQs

Package last updated on 28 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.