pe_unit_p

Tests whether the argument points to an object of type unit of measure

Usage syntax

int pe_unit_p (struct pe_struct_t *p);

Parameters
p The pointer to an object
Description

Tests whether the argument is an object of type unit of measure

Returns

Returns 1 if the argument points to an object of type unit of measure; otherwise, 0

Examples

test = pe_unit_p(ft);