Release - Latest | Release - Pre | |
---|---|---|
() | () |
A Deno module to provide advanced method to determine item.
- Target Version: >= v1.41.0
- Require Permission: N/A
- Registry:
- DenoPKG
import ... from "https://denopkg.com/hugoalh-studio/advanced-determine-deno[@<Tag>]/mod.ts";
- GitHub Raw [Require Tag]
import ... from "https://raw.githubusercontent.com/hugoalh-studio/advanced-determine-deno/<Tag>/mod.ts";
- Pax
import ... from "https://pax.deno.dev/hugoalh-studio/advanced-determine-deno[@<Tag>]/mod.ts";
- DenoPKG
ℹ️ Notice: Although it is recommended to import main module with path
mod.ts
in general, it is also able to import part of the module with sub path if available, but do not import if:
- it's file path has an underscore prefix (e.g.:
_foo.ts
,_util/bar.ts
), or- it is a benchmark or test file (e.g.:
foo.bench.ts
,foo.test.ts
), or- it's symbol has an underscore prefix (e.g.:
export function _baz() {}
).These elements are not considered part of the public API, thus no stability is guaranteed for them.
ℹ️ Notice: Documentation is included inside the script file, can view it via:
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
-
import { isArrayUnique } from "https://raw.githubusercontent.com/hugoalh-studio/advanced-determine-deno/main/array/is_unique.ts"; isArrayUnique([{ foo: "bar" }, { foo: "bar" }]); //=> false
-
import { isArrayUniqueReference } from "https://raw.githubusercontent.com/hugoalh-studio/advanced-determine-deno/main/array/is_unique_reference.ts"; isArrayUniqueReference([{ foo: "bar" }, { foo: "bar" }]); //=> true
-
import { isNumericPrime } from "https://raw.githubusercontent.com/hugoalh-studio/advanced-determine-deno/main/numeric/is_prime.ts"; isNumericPrime(17n); //=> true
-
import { isStringCaseUpper } from "https://raw.githubusercontent.com/hugoalh-studio/advanced-determine-deno/main/string/is_case_upper.ts"; isStringCaseUpper("Hello, world!"); //=> false