has()
Returns boolean. Works well with nested objects- this helps prevent long conditionals like Note: This function can not detect if an object is defined, so that must be done prior or alongside this function. See above example. Deprecated notice: Use native JS Optional Chaining instead. Read More »