Skip to main content

scalar_of

Function scalar_of 

Source
pub fn scalar_of(
    schema: &ReferenceOr<Schema>,
    components: &Components,
) -> Result<Option<Scalar>, RefError>
Expand description

Some(scalar) when this schema fits on one flag, None when it does not.