Skip to content

Commit

Permalink
remove redundant isPresent
Browse files Browse the repository at this point in the history
  • Loading branch information
ro0gr committed Aug 1, 2022
1 parent c981082 commit 4aa6bc2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions addon/src/-private/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ if (macroCondition(dependencySatisfies('@ember/jquery', '*'))) {
export { jQuery as $ };
import { Query } from './query';

function isPresent(value) {
return typeof value !== 'undefined';
}

export function guardMultiple(items, selector, supportMultiple) {
if (items.length > 1 && !supportMultiple) {
throw new Error(
Expand Down

0 comments on commit 4aa6bc2

Please sign in to comment.