--- title: Value is null type: snippet language: javascript tags: [type] cover: broken-screen dateModified: 2020-10-20T23:02:01+03:00 --- Checks if the specified value is `null`. - Use the strict equality operator to check if the value of `val` is equal to `null`. ```js const isNull = val => val === null; ``` ```js isNull(null); // true ```