UNPKG

@bufbuild/cel

Version:

A CEL evaluator for ECMAScript

13 lines (12 loc) 479 B
import type { CelValue } from "./type.js"; export declare function accessByIndex(obj: CelValue, index: number | bigint | boolean): CelValue | undefined; /** * Access fields on Maps and Message by name. */ export declare function accessByName(obj: CelValue, name: string): CelValue | undefined; /** * Check to see if a field is set. * * It returns undefined if the field name is not valid. */ export declare function isSet(obj: CelValue, name: string): boolean | undefined;