stringConcat(value)
This function converts the provided value into a string representation.convertLocaleString(value, locale, options)
Converts a value to a string with a specified locale.valuecan be a number or date type and is required.localeis your desired locale language (e.g., ‘fr’ for French, ‘tr’ for Turkish) and is required.optionsis an optional object for customization, as shown below:
convertLocaleDateString(value, locale, options)
Converts a value to a string with a specified locale.valuecan be a string or date type and is required.localeis your desired locale language (e.g., ‘fr’ for French, ‘tr’ for Turkish) and must be a string, and it’s required.optionsis an optional object for customization, as shown below:
push(arr, value)
Appends a new value to an array.arrmust be of type array and is a required parameter.valuecan be of any data type and is also required.
addKey(object, key, value)
Adds a new key and value to an object.objectmust be an object type and is required.keymust be a string type and is required.- The type of
valuemay be a string, number, date, object, array, and is required.
removeKey(object, key)
Deletes a key from an object.objectmust be an object type and is required.keymust be a string type and is required.
mapToKey(objects, key)
Retrieves values of a specified key.objectsis an array that includes objects and is required.keymust be a string type and is required.
filterByKeys(objects, keys)
Filters objects by specified keys.objectsis an array that includes objects and is required.keysis an array of strings and is required
fromEntries(object)
Returns an array of keys and values from an object.objectmust be an object type and is required.
fromKeysAndValues(keys, values)
It creates an object with your keys and values. You need to enter them by your order.keysmust be an array and is required.valuesmust be an array and is required.
uuid()
Generates a unique ID.len(arr)
Returns the length of an array.arris an array and is required.
updateKey(object, oldKey, newKey)
Updates a specified key. It finds the old key and replaces it with the new key.objectmust be an object type and is required.oldKeymust be a string type and is required.newKeymust be a string type and is required.
findDeep(arr,recursiveKey, searchKey, value)
Finds a value based on a search key and returns its value. If the value is not found or the search key’s value does not match, it returns ‘undefined’.arrmay be an object or array type and is required.recursiveKeyis the key for recursive array searching. If not applicable, use an empty string (”).searchKeyis the key you are searching for.valueis the value to compare against the search key.
removeIndex(array, index)
Removes an element at a specified index.arraymust be an array and is required.indexmust be number of string and is required.
jsonStringify(value)
This function converts the given value into a string representation.valuecan be of any data type and is a required parameter.
jsonParse(value)
This function parses the provided value, converting it from a string back into its original data structure.valuecan be of any data type and is a required parameter.
withQuotes(value)
The withQuotes function encloses a given string with quotation marks, both at the start and end.valuemust be of string type and is a required parameter.
trimQuotes(value)
This function removes leading and trailing quotation marks from a string.valuemust be of string type and is a required parameter.
fetch(url,options)
This function initiates an HTTP request.urlis the URL for your request and is a required parameter.optionsrepresent request configuration and is also required.
getQueryParameter(url, key)
The getQueryParameter function extracts a specific query parameter from a URL.urlmust be of string type and is required.keyis the parameter key to retrieve and is also required.
getQueryParameters()
This function returns all query parameters from a URL.urlis your URL and is a required parameter.keyis the parameter key to retrieve, and it’s also required.