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

    Function getStringProp

    • Safely extracts a string property from an unknown object.

      Returns undefined if the value is not an object or the property is not a string.

      Parameters

      • value: unknown

        The value to extract from.

      • key: string

        The property name to extract.

      Returns string | undefined

      The string value or undefined.