method secret.reveal
The wrapped value (a fresh copy). The analyzer follows it so that it does not leak into logs (§13.3).
Example:
fn main() io {
let token = secret.of("abc")
print("{token.reveal() == "abc"}")
}Output
true
pub(api) fn reveal() -> TComplexity. O(1) (O(n) for `secret<str>`).
Since. 1.0.0-beta
Returns
T
Effects
none declared (pure unless the body says otherwise)
Defined in: std/core/types.oxl:696