Options
All
  • Public
  • Public/Protected
  • All
Menu

Module core/storage/utils

Index

Functions

deleteKeyFromNestedObject

  • Deletes an entry in a given object on a given index.

    No-op in case the index is not found.

    throws

    In case the index is invalid i.e. doesn't contain an entry or doesn't exist.

    Parameters

    Returns JSONObject

    An updated copy of the object.

getValueFromNestedObject

  • Gets an entry in a given object on a given index.

    throws

    In case the index is an empty array.

    Parameters

    Returns JSONValue | undefined

    The value of the entry if any was found and undefined otherwise.

updateNestedObject

Generated using TypeDoc