effect-io-ai

Package: @effect/printer
Module: Doc

Doc.isText

Returns true if the specified Doc is a Text, false otherwise.

Signature

declare const isText: <A>(self: Doc<A>) => self is Text<A>

Source

Since v1.0.0