unwrap

nyx.core.records.unwrap(x)[source]

The value inside a PerObs, or x unchanged if it is not one.

Parameters:

x (object)

Return type:

object