@metreeca/blue - v0.12.0
    Preparing search index...

    Function text

    • Creates a shape for single-line plain text values.

      Fixes the datatype to xsd:string and admits space-normalised single-line content: at least one non-whitespace character, no line breaks or tabs, no leading or trailing whitespace, and single spaces between words. Reach for it for labels, names and other short unformatted values that must survive rendering in any layout; reach for markdown where the content carries formatting or spans multiple lines.

      Parameters

      Returns StringShape

      An immutable shape admitting single-line plain text

      TraceError Where the stated constraints contradict one another