DubComponent.canBuild

Returns whether there is a target set to build. If this is false then build will throw an exception.

class DubComponent
@property
bool
canBuild
()

Meta