ts-flex-query
Version:
Flexible and type-safe data queries
12 lines (11 loc) • 479 B
TypeScript
import { Expression } from '../core/expression';
import { DataType } from '../types/data-type';
import { EvaluationContext } from '../types/evaluation-context';
export declare class SliceExpression implements Expression {
readonly input: Expression;
readonly skip: number;
readonly take?: number | undefined;
get dataType(): DataType;
constructor(input: Expression, skip: number, take?: number | undefined);
evaluate(context: EvaluationContext): any[];
}