Daylight v4.9
Release Date: 1 February 2008


dt_boolean - retrieve the boolean value of a named property

Generic Prototype

dt_boolean(dt_Handle, dt_String name) => dt_Boolean

C Prototype

#include "dt_smiles.h"

dt_Boolean dt_boolean(dt_Handle object, dt_Integer nlen, dt_String pname)

FORTRAN Prototype

include ''

logical dt_f_boolean(object, pname)

integer*4 object
character*() pname


Gets the boolean value of a named property 'pname' for an object.

Return Value

Returns the boolean value for the named property for the object. If the named property is not DX_PROP_BOOLEAN (set with dt_setboolean(3)), the property is defined as FALSE.

Related Topics

dt_proptype(3) dt_setboolean(3)