@darthcav/ts-utils
    Preparing search index...

    Function asRuntimeObject

    • Returns the input when it is a non-array object that can be treated as a runtime JSON object.

      Parameters

      • value: unknown

        Value to narrow.

      Returns RuntimeObject | undefined

      The same value as a RuntimeObject, or undefined when the value is not an object.