json-joy
    Preparing search index...

    Class str<T>

    The str class represents a "str" JSON CRDT node. As the generic type parameter, it takes the type of the raw value.

    Example:

    s.str('');
    s.str('hello');
    s.str<string>('world');
    s.str<'' | 'hello' | 'world'>('hello');

    Type Parameters

    • T extends string = string

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    raw: T
    type: "str" = 'str'