API Reference > OdDAI Namespace > Classes > ExplicitAttribute Class > ExplicitAttribute Methods > ExplicitAttribute::optional Method
ExplicitAttribute::optional Method
Syntax
C++
bool optional() const;

Returns true if the attribute is optional; otherwise the method returns false.

Determines whether the attribute is optional.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.