Skip to main content

intersection

Function intersection 

Source
pub fn intersection<A: VldSchema, B: VldSchema>(
    a: A,
    b: B,
) -> ZIntersection<A, B>
Expand description

Create an intersection of two schemas (input must satisfy both).

Both schemas run on the same input. The output of the first schema is returned.