@@ -2878,40 +2878,40 @@ export abstract class Expression
28782878
28792879 /**
28802880 * @beta
2881- * Creates an expression that returns the `elseValue` argument if this expression results in a null value , else
2881+ * Creates an expression that returns the `elseValue` argument if this expression evaluates to null, else
28822882 * return the result of this expression evaluation.
28832883 *
28842884 * @remarks
2885- * This function provides a fallback for both absent and explicit null values. In contrast, {@link ifAbsent}
2885+ * This function provides a fallback for both absent and explicit null values. In contrast, {@link Expression# ifAbsent}
28862886 * only triggers for missing fields.
28872887 *
28882888 * @example
28892889 * ```typescript
2890- * // Returns the user's preferred name, or if that is null or absent , returns their full name.
2890+ * // Returns the user's preferred name, or if that is null, returns their full name.
28912891 * field("preferredName").ifNull(field("fullName"))
28922892 * ```
28932893 *
2894- * @param elseExpression The Expression that will be evaluated if this Expression evaluates to a null or absent value .
2894+ * @param elseExpression The Expression that will be evaluated if this Expression evaluates to null.
28952895 * @returns A new [Expression] representing the ifNull operation.
28962896 */
28972897 ifNull ( elseExpression : Expression ) : FunctionExpression ;
28982898
28992899 /**
29002900 * @beta
2901- * Creates an expression that returns the `elseValue` argument if this expression results in a null value , else
2901+ * Creates an expression that returns the `elseValue` argument if this expression evaluates to null, else
29022902 * return the result of this expression evaluation.
29032903 *
29042904 * @remarks
2905- * This function provides a fallback for both absent and explicit null values. In contrast, {@link ifAbsent}
2905+ * This function provides a fallback for both absent and explicit null values. In contrast, {@link Expression# ifAbsent}
29062906 * only triggers for missing fields.
29072907 *
29082908 * @example
29092909 * ```typescript
2910- * // Returns the user's display name, or returns "Anonymous" if the field is null or absent .
2910+ * // Returns the user's display name, or returns "Anonymous" if the field is null.
29112911 * field("displayName").ifNull("Anonymous")
29122912 * ```
29132913 *
2914- * @param elseValue The value that will be returned if this Expression evaluates to a null or absent value .
2914+ * @param elseValue The value that will be returned if this Expression evaluates to null.
29152915 * @returns A new [Expression] representing the ifNull operation.
29162916 */
29172917 ifNull ( elseValue : unknown ) : FunctionExpression ;
@@ -9268,16 +9268,16 @@ export function ifAbsent(
92689268 *
92699269 * @remarks
92709270 * This function provides a fallback for both absent and explicit null values. In contrast,
9271- * {@link ifAbsent} only triggers for missing fields.
9271+ * {@link Expression# ifAbsent} only triggers for missing fields.
92729272 *
92739273 * @example
92749274 * ```typescript
9275- * // Returns the user's preferred name, or if that is null or absent , returns their full name.
9275+ * // Returns the user's preferred name, or if that is null, returns their full name.
92769276 * ifNull(field("preferredName"), field("fullName"))
92779277 * ```
92789278 *
9279- * @param ifExpr The expression to check for null or absence .
9280- * @param elseExpr The expression that will be evaluated and returned if `ifExpr` is null or absent .
9279+ * @param ifExpr The expression to check for null.
9280+ * @param elseExpr The expression that will be evaluated and returned if `ifExpr` is null.
92819281 * @returns A new `Expression` representing the ifNull operation.
92829282 */
92839283export function ifNull (
@@ -9292,16 +9292,16 @@ export function ifNull(
92929292 *
92939293 * @remarks
92949294 * This function provides a fallback for both absent and explicit null values. In contrast,
9295- * {@link ifAbsent} only triggers for missing fields.
9295+ * {@link Expression# ifAbsent} only triggers for missing fields.
92969296 *
92979297 * @example
92989298 * ```typescript
9299- * // Returns the user's display name, or returns "Anonymous" if the field is null or absent .
9299+ * // Returns the user's display name, or returns "Anonymous" if the field is null.
93009300 * ifNull(field("displayName"), "Anonymous")
93019301 * ```
93029302 *
9303- * @param ifExpr The expression to check for null or absence .
9304- * @param elseValue The value that will be returned if `ifExpr` evaluates to a null or absent value .
9303+ * @param ifExpr The expression to check for null.
9304+ * @param elseValue The value that will be returned if `ifExpr` evaluates to null.
93059305 * @returns A new `Expression` representing the ifNull operation.
93069306 */
93079307export function ifNull (
@@ -9316,17 +9316,17 @@ export function ifNull(
93169316 *
93179317 * @remarks
93189318 * This function provides a fallback for both absent and explicit null values. In contrast,
9319- * {@link ifAbsent} only triggers for missing fields.
9319+ * {@link Expression# ifAbsent} only triggers for missing fields.
93209320 *
93219321 * @example
93229322 * ```typescript
9323- * // Returns the user's preferred name, or if that is null or absent , returns their full name.
9323+ * // Returns the user's preferred name, or if that is null, returns their full name.
93249324 * ifNull("preferredName", field("fullName"))
93259325 * ```
93269326 *
9327- * @param ifFieldName The field to check for null or absence .
9327+ * @param ifFieldName The field to check for null.
93289328 * @param elseExpr The expression that will be evaluated and returned if `ifFieldName` is
9329- * null or absent .
9329+ * null.
93309330 * @returns A new `Expression` representing the ifNull operation.
93319331 */
93329332export function ifNull (
@@ -9341,16 +9341,16 @@ export function ifNull(
93419341 *
93429342 * @remarks
93439343 * This function provides a fallback for both absent and explicit null values. In contrast,
9344- * {@link ifAbsent} only triggers for missing fields.
9344+ * {@link Expression# ifAbsent} only triggers for missing fields.
93459345 *
93469346 * @example
93479347 * ```typescript
9348- * // Returns the user's display name, or returns "Anonymous" if the field is null or absent .
9348+ * // Returns the user's display name, or returns "Anonymous" if the field is null.
93499349 * ifNull("displayName", "Anonymous")
93509350 * ```
93519351 *
9352- * @param ifFieldName The field to check for null or absence .
9353- * @param elseValue The value that will be returned if `ifFieldName` is null or absent .
9352+ * @param ifFieldName The field to check for null.
9353+ * @param elseValue The value that will be returned if `ifFieldName` is null.
93549354 * @returns A new `Expression` representing the ifNull operation.
93559355 */
93569356export function ifNull (
0 commit comments