@genexus/web-standard-functions
Version:
GeneXus JavaScript standard functions library for web generators
9 lines (8 loc) • 502 B
TypeScript
/**
* Assigns a value depending on the evaluation of an expression. IIf is an abbreviation for Immediate if.
* @param {boolean} condition Condition to be evaluated
* @param {any} valueIfTrue Return value if the condition evaluates to true
* @param {any} valueIfFalse Return value if the condition evaluates to false
* @return any Either valueIfTrue or valueIfFalse depending on the condition
*/
export declare const iif: (condition: boolean | Number, valueIfTrue: any, valueIfFalse: any) => any;