1.0.2 • Published 5 months ago
@aviene/guards v1.0.2
@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
}