IsDefaultValue (open)

Checks if the given variable is equal to the default value of its type.

Syntax

// Core function, no LOADLIB necessary

BOOLEAN FUNCTION IsDefaultValue(VARIANT input)

Parameters

VARIANT input

The variable to check

Return value

BOOLEAN

Boolean TRUE if the given variable is equal to its type default, FALSE otherwise.

Description

This function checks if the given variable can be matched as equal to the default value of its type.

Examples

//Prints "TRUE"
PRINT(AnyToString(IsDefaultValue(""), 'tree'));