This package has been deprecated

Author message:

🚚 @vangware/predicates is now @lou.codes/predicates

@vangware/predicates
TypeScript icon, indicating that this package has built-in type declarations

2.2.6Β β€’Β PublicΒ β€’Β Published

Coverage License NPM Version Open Issues Size

🧐 Predicate util functions

Usage

πŸ“¦ Node

Install @vangware/predicates as a dependency:

pnpm add @vangware/predicates
# or
npm install @vangware/predicates
# or
yarn add @vangware/predicates

Import it and use it:

import { isBoolean } from "@vangware/predicates";

isBoolean(true); // true
isBoolean(false); // true
isBoolean(undefined); // false

πŸ¦• Deno

Import @vangware/predicates using the npm: prefix, and use it directly:

import { isBoolean } from "npm:@vangware/predicates";

isBoolean(true); // true
isBoolean(false); // true
isBoolean(undefined); // false

🌎 Browser

Import @vangware/predicates using esm.sh, and use it directly:

<script type="module">
	import { isBoolean } from "https://esm.sh/@vangware/predicates";

	isBoolean(true); // true
	isBoolean(false); // true
	isBoolean(undefined); // false
</script>

Package Sidebar

Install

npm i @vangware/predicates

Weekly Downloads

248

Version

2.2.6

License

MIT

Unpacked Size

38.6 kB

Total Files

71

Last publish

Collaborators

  • loucyx