System.Assigned - Manhunter07/MFL GitHub Wiki
Declaration
function Assigned(Value): System.Boolean = \built-in\
Description
See also: Boolean evaluation
The Assigned
function in the System
package determines whether or not the passed value is empty. It returns True
on non-empty and False
on empty (falsy) values. Emptiness is defined as either Nil
(for references), 0
(for numbers), ""
(for strings), []
(for arrays) or {}
(for records).