sat

fun sat(fn: (Char) -> Boolean): (Parseable) -> Pair<Parseable, Char>?

Parses a character successfully if the given predicate returns true

Parameters

fn

Predicate that must be satisfied