This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@hugoalh/advanced-determine
TypeScript icon, indicating that this package has built-in type declarations

14.0.1 • Public • Published

Advanced Determine (NodeJS)

⚖️ MIT CodeFactor Grade

Release - Latest Release - Pre
GitHub GitHub Latest Release Version (GitHub Latest Release Date) GitHub Latest Pre-Release Version (GitHub Latest Pre-Release Date)
NPM NPM Latest Release Version NPM Latest Pre-Release Version

A NodeJS module to provide advanced method to determine item.

🔰 Begin

Bun

🧪 Experimental: Bun is still under development.

  • Target Version: ^ v1.0.0, &:
    • TypeScript >= v5.1.0 [Development]
  • Require Permission: N/A
  • Domain/Registry:
    • NPM
      bun add @hugoalh/advanced-determine[@<Tag>]
      import ... from "@hugoalh/advanced-determine[@<Tag>]";

ℹ️ Notice: It is also able to import part of the module with sub path if available, see file package.json property exports for available sub paths.

NodeJS

  • Target Version: >= v16.13.0, &:
    • TypeScript >= v5.1.0 [Development]
  • Require Permission: N/A
  • Domain/Registry:
    • NPM
      npm install @hugoalh/advanced-determine[@<Tag>]
      import ... from "@hugoalh/advanced-determine";

ℹ️ Notice: It is also able to import part of the module with sub path if available, see file package.json property exports for available sub paths.

🧩 API (Excerpt)

ℹ️ Notice: Documentation is included inside the script file.

Function

  • isArrayStrict
  • isArrayUnique
  • isArrayUniqueReference
  • isAsyncFunction
  • isAsyncGenerator
  • isAsyncGeneratorFunction
  • isBigIntegerEven
  • isBigIntEven
  • isBigIntNegative
  • isBigIntOdd
  • isBigIntPositive
  • isBigIntSafe
  • isEmpty
  • isJSON
  • isJSONArray
  • isJSONObject
  • isJSONPrimitive
  • isNumberEven
  • isNumberFloat
  • isNumberNegative
  • isNumberOdd
  • isNumberPositive
  • isNumberSafe
  • isNumericIntegralType
  • isNumericPrime
  • isObjectPlain
  • isPrimitive
  • isStringASCII
  • isStringCaseLower
  • isStringCaseUpper
  • isStringSingleLine
  • isStringTrimmable
  • isStringTrimmableEnd
  • isStringTrimmableStart
  • isSyncFunction
  • isSyncGenerator
  • isSyncGeneratorFunction

✍️ Example

  • import { isArrayUnique } from "@hugoalh/advanced-determine/array/is-unique";
    
    isArrayUnique([{ foo: "bar" }, { foo: "bar" }]);
    //=> false
  • import { isArrayUniqueReference } from "@hugoalh/advanced-determine/array/is-unique-reference";
    
    isArrayUniqueReference([{ foo: "bar" }, { foo: "bar" }]);
    //=> true
  • import { isNumericPrime } from "@hugoalh/advanced-determine/numeric/is-prime";
    
    isNumericPrime(17n);
    //=> true
  • import { isStringCaseUpper } from "@hugoalh/advanced-determine/string/is-case-upper";
    
    isStringCaseUpper("Hello, world!");
    //=> false

🔗 Other Edition

Package Sidebar

Install

npm i @hugoalh/advanced-determine

Weekly Downloads

20

Version

14.0.1

License

MIT

Unpacked Size

82.7 kB

Total Files

138

Last publish

Collaborators

  • hugoalh