conditionEvaluator

package
v0.70.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorIncompatible = errors.New("incompatible comparison types")

Functions

func Evaluate

func Evaluate(expression string, input string) (bool, error)

Evaluate takes in an IDQL expression, parses it, and then compares against the input provided. 'input' is a JSON structure containing data provided by the client using OpaTools.PrepareInput

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL