UNPKG

@featurevisor/sdk

Version:

Featurevisor SDK for Node.js and the browser

5 lines (4 loc) 329 B
import type { Context, PlainCondition, AttributeValue } from "@featurevisor/types"; import { GetRegex } from "./datafileReader"; export declare function getValueFromContext(obj: any, path: any): AttributeValue; export declare function conditionIsMatched(condition: PlainCondition, context: Context, getRegex: GetRegex): boolean;