Function plutus_ledger_api::utils::singleton

source ยท
pub fn singleton<T, C>(value: T) -> C
where C: FromIterator<T>,
Expand description

Create a container C from one element.