Skip to content

!(pattern:)

kareman edited this page Aug 13, 2020 · 3 revisions

!(pattern:)

Will only succeed if the following pattern fails. Does not consume any input.

@inlinable public prefix func !<P: Pattern>(pattern: P) -> NotPattern<P>

!(pattern:)

Will only succeed if the following pattern fails. Does not consume any input.

@inlinable public prefix func !<Input>(pattern: Literal<Input>) -> NotPattern<Literal<Input>>
Clone this wiki locally