ifNull#

swordfish.function.ifNull()#

Determine whether X is null. If it is null, return X; if not, return Y.

参数:
  • X (Constant) -- A scalar/pair/vector/matrix.

  • Y (Constant) -- A scalar/pair/vector/matrix. X and Y must have the same data type.