Skip to content
On this page

nothing primitive

Signature

ts
function nothing(): Parser<null>

Description

nothing simply resolves to null. It's used in optional's implementation, but can be easily used in other combinators, e.g. choice.