oneΒΆ

virtual bool libsemigroups::Semiring::one() = 0

Returns the multiplicative identity, or one, of the semiring.