Skip to content

Commit

Permalink
chore: deprecates in favour of num predicates
Browse files Browse the repository at this point in the history
  • Loading branch information
OctoD committed Mar 21, 2021
1 parent fc7f195 commit f39f0a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/predicate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export const fromvalue = <T>(value: T) => (predicate: Predicate<T>) =>

/**
* Returns a comparison function
* @deprecated use `num.greaterthan` instead
*
* @example
* ```ts
Expand All @@ -72,6 +73,7 @@ export const greaterthan = <T>(comparisonvalue: T) => (othervalue: T) =>

/**
* Returns a comparison function
* @deprecated use `num.greaterequalthan` instead
*
* @example
* ```ts
Expand All @@ -90,6 +92,7 @@ export const greaterorequalthan = <T>(comparisonvalue: T) => (othervalue: T) =>

/**
* Returns a comparison function
* @deprecated use `num.lessthan` instead
*
* @example
* ```ts
Expand All @@ -108,6 +111,7 @@ export const lessthan = <T>(comparisonvalue: T) => (othervalue: T) =>

/**
* Returns a comparison function
* @deprecated use `num.lessequalthan` instead
*
* @example
* ```ts
Expand Down

0 comments on commit f39f0a5

Please sign in to comment.