Function normalizeBundle

  • Utility function that serializes and deserialize an object back into the same bundle as the sdk. This is a workaround to have the instanceof operator work when input objects come from a different bundle.

    Type Parameters

    Parameters

    • cls: DeserializableClass<T>

      The class of the object to normalize

    • value: T

      the instance to normalize

    Returns T

Generated using TypeDoc