Skip to content

Commit

Permalink
revert how _isPlaceholder operates
Browse files Browse the repository at this point in the history
  • Loading branch information
Harris-Miller committed May 2, 2024
1 parent ad50734 commit 5fc80ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/internal/_isPlaceholder.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import _placeholder from './_placeholder.js';

export default function _isPlaceholder(a) {
return a === _placeholder;
return a != null &&
typeof a === 'object' &&
a['@@functional/placeholder'] === true;
}

0 comments on commit 5fc80ab

Please sign in to comment.