Skip to content

Commit

Permalink
refactor(isNot {}): freeze the object.
Browse files Browse the repository at this point in the history
  • Loading branch information
sciborrudnicki committed Sep 20, 2021
1 parent e00a881 commit c4e6f8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/is/not/lib/is-not.object.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { isNotUndefined } from './is-not-undefined.func';
/**
* An `object` of `isNot` prefixed functions.
*/
export const isNot: IsNot = {
export const isNot: IsNot = Object.freeze({
// TODO array: isArray,
// TODO bigInt: isBigInt,
boolean: isNotBoolean,
Expand All @@ -24,4 +24,4 @@ export const isNot: IsNot = {
// TODO symbol: isSymbol,
// TODO type: isType,
undefined: isNotUndefined
};
});

0 comments on commit c4e6f8f

Please sign in to comment.