Applies the logical negation operator to the given argument.
If the argument is a Promise, it returns a new Promise that resolves to the negation of the resolved value of the argument Promise.
If the argument is not a Promise, it returns the negation of the argument.
Applies the logical negation operator to the given argument. If the argument is a Promise, it returns a new Promise that resolves to the negation of the resolved value of the argument Promise. If the argument is not a Promise, it returns the negation of the argument.