Checks if a value exists for the given base object.
The base object used as a key
True if the value exists, false otherwise
Forcefully unwraps the value, throwing an error if it doesn't exist.
The stored value
When the value doesn't exist
Unwraps the value or returns a default value if it doesn't exist.
The alternative value to return if the value doesn't exist
The stored value or the alternative value
Unwraps the value or executes a function to get an alternative value.
Function to execute if the value doesn't exist
Rest
The stored value or the result of the function
Unwraps the value or returns undefined if it doesn't exist.
The stored value or undefined
Checks if a value exists for the given base object.