Home

WayneCarl Barker's Portfolio/ Blog

Posts in utilities

Compare two arrays for equality
July 21, 2023
Compare two arrays for equality

Arrays are refernce type objects so testing equality can be difficult

Read More

WayneCarl

Filter an array of object
March 24, 2023
Filter an array of object

The best way to filter an array of objects based on there keys

Read More

jherax

Function to filter undefined or null keys
March 24, 2023
Function to filter undefined or null keys

A usefule function for removing rendundent data from an object

Axios, a Better Way to Fetch
October 22, 2022
Axios, a Better Way to Fetch

Axios is becoming the more popular alternative to plain old fetch

Read More

WayneCarl

Making Array only have unique items
May 7, 2022
Making Array only have unique items

This is an easy 1 liner for making an array only unique values

Read More

WayneCarl