2.0.7 ā¢ Published 11 days ago
@lou.codes/predicates v2.0.7
š§ 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.7
11 days ago
2.0.5
25 days ago
2.0.6
24 days ago
2.0.4
26 days ago
2.0.3
1 month ago
2.0.1
1 month ago
2.0.0
1 month ago
1.0.15
1 month ago
1.0.14
1 month ago
1.0.13
2 months ago
1.0.12
2 months ago
1.0.11
4 months ago
1.0.10
4 months ago
1.0.9
4 months ago
1.0.8
4 months ago
1.0.7
5 months ago
1.0.6
5 months ago
1.0.2
5 months ago
1.0.5
5 months ago
1.0.4
5 months ago
1.0.3
5 months ago
1.0.1
6 months ago
1.0.0
6 months ago