Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SpacehuhnTech/SimpleCLI
/ isRequired
Method
isRequired
src/Argument.cpp:65–67 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
63
}
64
65
bool Argument::isRequired() const {
66
return argPointer && argPointer->req == ARG_REQ;
67
}
68
69
bool Argument::isOptional() const {
70
return !isRequired();
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected