EMPTY()

Checks if the passed argument is empty.

Syntax

EMPTY( <xExp> ) --> <lIsEmpty>

Arguments

<xExp> is any valid expression.

Returns

A logical value. It is true (.T.) if the passed argument is empty otherwise it is false (.F.).

Description

This function checks if an expression has empty value and returns a logical indicating whether it the expression is empty or not.
Examples
      ? Empty( "I'm not empty" )
Tests
      function Test()
         ? Empty( 1 )       --> .f.
         ? Empty( Date() )  --> .f.
         ? Empty( .f. )     --> .t.
      return nil
Status

Ready

Compliance

EMPTY() is fully CA-Clipper compliant.

Files

Library is rtl

See Also