Skip to content

Instantly share code, notes, and snippets.

View lukeribchester's full-sized avatar
🚀

Luke Gareth Ribchester lukeribchester

🚀
View GitHub Profile
function isObject(object) {
return object != null && object.constructor.name === 'Object';
}
function isArray(object) {
return object != null && object.constructor.name === 'Array';
}
/**
* Find all values corresponding to a matching property.