not
not inverts a Spot into its boolean opposite. Without it, you’d build the same shape by hand:
// without notconst userMissing = shape(fetchUser.result, (user) => !user)// with notconst userMissing = not(fetchUser.result)
// without notconst notAllDone = shape(every.status([fetchUser, fetchOrder], "done"), (allDone) => !allDone)// with notconst notAllDone = not(every.status([fetchUser, fetchOrder], "done"))Arguments
Section titled “Arguments”value: Spot<T>— a Spot, coerced to a boolean and inverted.
Returns
Section titled “Returns”Spot<boolean> — true when the input is falsy; false otherwise.