export const getClientMutationId = ( args ) : string => { const relayArgIndex = args . findIndex ( ( arg ) => arg [ 'clientMutationId' ] ) ; return args [ relayArgIndex ] ?. clientMutationId || null ; } ;