[#227] bearer: Add method IsSetAPEOverride
All checks were successful
DCO / DCO (pull_request) Successful in 1m6s
Tests and linters / Tests (1.21) (pull_request) Successful in 1m21s
Tests and linters / Tests (1.20) (pull_request) Successful in 1m30s
Tests and linters / Lint (pull_request) Successful in 2m11s

Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
Anton Nikiforov 2024-06-04 10:17:07 +03:00
parent ebd8fcd168
commit 2a04a40710

View file

@ -313,6 +313,13 @@ func (b *Token) SetAPEOverride(v APEOverride) {
b.apeOverrideSet = true
}
// IsSetAPEOverride return true if APEOverride is set.
//
// See also: APEOverride.
func (b *Token) IsSetAPEOverride() bool {
return b.apeOverrideSet
}
// APEOverride returns APE override set by SetAPEOverride.
//
// Zero Token has zero APEOverride.