Left Curve Software Stack
    Preparing search index...

    Function assertObject

    • A runtime checker that ensures a given value is an object in the sense of JSON (an unordered collection of key–value pairs where the keys are strings)

      This is used when you want to verify that data at runtime matches the expected type. This implies assertSet.

      Type Parameters

      • T

      Parameters

      • value: T

      Returns T