Skip to content

Commit

Permalink
issue-#57 - Moved some deprecation notices around.
Browse files Browse the repository at this point in the history
  • Loading branch information
elycruz committed Feb 16, 2024
1 parent 8f890aa commit a83058b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/fjl/src/object/is.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ export const
containsEnumerables = (x: any): boolean => notNullish(x) && keys(x).length > 0,

/**
* @deprecated - Perform check directly.
*
* Checks if passed in value is falsy, an empty array,
* an empty es6 collection object (Map, Set, etc.),
* and/or, contains no enumerable properties/is an empty object (of
Expand Down Expand Up @@ -192,10 +194,10 @@ export const
},

/**
* Resolves/normalizes a type name from either a string or a constructor.
*
* @deprecated - Compare instance type (via `instanceOf`, etc.), or type names directly.
*
* Resolves/normalizes a type name from either a string or a constructor.
*
* @todo write tests for this function.
*/
toTypeRef = (type: TypeRef): TypeRef => {
Expand Down

0 comments on commit a83058b

Please sign in to comment.