2.0.13 • Published 1 year ago

@lou.codes/predicates v2.0.13

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Coverage License NPM Version Open Issues Size

🧐 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

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