Skip to content
A

scalar

function scalar<T, P>(opts): ScalarProducer<T, P>;

Defined in: src/core/producer.ts:226

A leaf producer with an explicit decoder.

Type ParameterDefault type
T-
P extends Presence"optional"
ParameterType
optsScalarOpts<T, P>

ScalarProducer<T, P>