iff.as

来自「用于flash/flex的 as3的 2D图形图像图表的动态生成」· AS 代码 · 共 22 行

AS
22
字号
package flare.query.methods
{
	import flare.query.If;
	
	/**
	 * Creates a new <code>If</code> query operator.
	 * @param test the if test expression. 
	 *  This value can be an expression or a literal value.
	 *  Literal values are parsed using the Expression.expr method.
	 * @param then the then case expression
	 *  This value can be an expression or a literal value.
	 *  Literal values are parsed using the Expression.expr method.
	 * @param els the else case expression
	 *  This value can be an expression or a literal value.
	 *  Literal values are parsed using the Expression.expr method.
	 * @return the new query operator
	 */
	public function iff(test:*, then:*, els:*):If
	{
		return new If(test, then, els);
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?