UNPKG

@arthurgubaidullin/nx-embed-dependencies

Version:

This plugin for [Nx](https://nx.dev) helps injecting local dependencies into a package.

12 lines (11 loc) 332 B
import { prism } from '.'; import { isNonNegativeInteger } from './NonNegativeInteger'; import { isNonZero } from './NonZero'; /** * @since 0.2.0 */ export var isPositiveInteger = function (n) { return isNonZero(n) && isNonNegativeInteger(n); }; /** * @since 0.2.0 */ export var prismPositiveInteger = prism(isPositiveInteger);