UNPKG

777 BTypeScriptView Raw
1import { Statements, Statement, Expressions, Expression } from '@glimmer/interfaces';
2export declare function is<T>(variant: number): (value: any) => value is T;
3export declare const isFlushElement: (value: any) => value is Statements.FlushElement;
4export declare function isAttribute(val: Statement): val is Statements.Attribute;
5export declare function isStringLiteral(expr: Expression): expr is Expressions.StringValue;
6export declare function getStringFromValue(expr: Expressions.StringValue): string;
7export declare function isArgument(val: Statement): val is Statements.Argument;
8export declare function isHelper(expr: Expression): expr is Expressions.Helper;
9export declare const isGet: (value: any) => value is Expressions.GetSymbol;
10//# sourceMappingURL=index.d.ts.map
\No newline at end of file