• A helper function which searches through an object to delete a value by a string key. The string key supports the notation a.b.c which would delete object[a][b][c]

    Parameters

    • object: object

      The object to traverse

    • key: string

      An object property with notation a.b.c

    Returns boolean

    Was the property deleted?