本文整理汇总了TypeScript中plywood.Expression.equals方法的典型用法代码示例。如果您正苦于以下问题:TypeScript Expression.equals方法的具体用法?TypeScript Expression.equals怎么用?TypeScript Expression.equals使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类plywood.Expression
的用法示例。
在下文中一共展示了Expression.equals方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1: equals
public equals(other: Dimension): boolean {
return Dimension.isDimension(other) &&
this.name === other.name &&
this.title === other.title &&
this.expression.equals(other.expression) &&
this.kind === other.kind;
}
示例2: equals
public equals(other: Dimension): boolean {
return Dimension.isDimension(other) &&
this.name === other.name &&
this.title === other.title &&
this.expression.equals(other.expression) &&
this.type === other.type &&
this.sortOn === other.sortOn;
}
示例3: equals
public equals(other: Dimension): boolean {
return Dimension.isDimension(other) &&
this.name === other.name &&
this.title === other.title &&
this.expression.equals(other.expression) &&
this.kind === other.kind &&
this.url === other.url &&
immutableArraysEqual(this.granularities, other.granularities);
}
示例4: equals
public equals(other: SplitCombine): boolean {
var { expression, bucketAction, sortAction, limitAction } = this;
return SplitCombine.isSplitCombine(other) &&
expression.equals(other.expression) &&
Boolean(bucketAction) === Boolean(other.bucketAction) &&
(!bucketAction || bucketAction.equals(other.bucketAction)) &&
Boolean(sortAction) === Boolean(other.sortAction) &&
(!sortAction || sortAction.equals(other.sortAction)) &&
Boolean(limitAction) === Boolean(other.limitAction) &&
(!limitAction || limitAction.equals(other.limitAction));
}
示例5: equalsByExpression
public equalsByExpression(other: SplitCombine): boolean {
var { expression } = this;
return SplitCombine.isSplitCombine(other) && expression.equals(other.expression);
}