Substring.IsBorrowed Property

property IsBorrowed: Boolean read GetIsBorrowed;

Whether the text is another thread's long text, read where it is.

Returns: Boolean

Remarks:

Such a copy is valid while the thread that made the text keeps it unchanged.

Examples

A text of this thread is not borrowed.

uses Substr;

procedure Example;
begin
    Assert(not Substring.Create('x', 600).IsBorrowed);
end;