@runloop/remote-agents-sdk
    Preparing search index...

    Function hasStringType

    • Type guard for objects with a string type property.

      Many protocol messages use a type discriminator; this guard handles the initial structural check before further narrowing.

      Parameters

      • value: unknown

        The value to check.

      Returns value is { type: string }

      true if value is an object with a string type property.