UNPKG

@ou-imdt/utils

Version:

Utility library for interactive media development

9 lines 310 B
/** * Performs logical NOT operation on a given argument. * Returns `true` if the argument is falsy, otherwise returns `false`. * @param {any} value - The value to evaluate. * @returns {boolean} True if the value is falsy, otherwise false. */ export default function logicalNot(value) { return !value; }