2.0.13 ⢠Published 1 year ago
@lou.codes/predicates v2.0.13
š§ Predicate util functions
Usage
š¦ Node
Install @lou.codes/predicates
as a dependency:
pnpm add @lou.codes/predicates
# or
npm install @lou.codes/predicates
# or
yarn add @lou.codes/predicates
Import it and use it:
import { isBoolean } from "@lou.codes/predicates";
isBoolean(true); // true
isBoolean(false); // true
isBoolean(undefined); // false
š¦ Deno
Import @lou.codes/predicates
using the npm:
prefix, and use it directly:
import { isBoolean } from "npm:@lou.codes/predicates";
isBoolean(true); // true
isBoolean(false); // true
isBoolean(undefined); // false
š Browser
Import @lou.codes/predicates
using esm.sh, and use it directly:
<script type="module">
import { isBoolean } from "https://esm.sh/@lou.codes/predicates";
isBoolean(true); // true
isBoolean(false); // true
isBoolean(undefined); // false
</script>
Useful links
- š Documentation: TypeDoc generated documentation.
- ā³ Changelog: List of changes between versions.
- ā Tests Coverage: Coveralls page with tests coverage.
2.0.13
1 year ago
2.0.11
1 year ago
2.0.12
1 year ago
2.0.10
1 year ago
2.0.9
1 year ago
2.0.7
1 year ago
2.0.5
1 year ago
2.0.6
1 year ago
2.0.4
1 year ago
2.0.3
1 year ago
2.0.1
1 year ago
2.0.0
1 year ago
1.0.15
1 year ago
1.0.14
1 year ago
1.0.13
1 year ago
1.0.12
1 year ago
1.0.11
1 year ago
1.0.10
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.2
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago