1.0.2 • Published 5 months ago

@aviene/guards v1.0.2

Weekly downloads
-
License
-
Repository
github
Last release
5 months ago

@aviene/guards

Collection of commonly used guards

Installation

npm install @aviene/guards

Usage

import { Guard } from '@aviene/guards';

if (Guard.isEmpty(unknownValue)) {
  // do something
}

if (Guard.lengthIsBetween(unknownValue, 1, 5)) {
  // do something
}
1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago