UNPKG

@jmespath-community/jmespath

Version:

Typescript implementation of the JMESPath Community specification

17 lines (16 loc) 1.12 kB
import { JSONValue } from '../JSON.type'; export declare const isObject: (obj: unknown) => obj is Record<string, unknown>; export declare const strictDeepEqual: (first: unknown, second: unknown) => boolean; export declare const isFalse: (obj: unknown) => boolean; export declare const isAlpha: (ch: string) => boolean; export declare const isNum: (ch: string) => boolean; export declare const isAlphaNum: (ch: string) => boolean; export declare const ensureInteger: (value: unknown) => number; export declare const ensurePositiveInteger: (value: unknown) => number; export declare const ensureNumbers: (...operands: (JSONValue | undefined)[]) => void; export declare const add: (left?: JSONValue, right?: JSONValue) => number; export declare const sub: (left?: JSONValue, right?: JSONValue) => number; export declare const mul: (left?: JSONValue, right?: JSONValue) => number; export declare const divide: (left?: JSONValue, right?: JSONValue) => number; export declare const div: (left?: JSONValue, right?: JSONValue) => number; export declare const mod: (left?: JSONValue, right?: JSONValue) => number;