@codeparticle/formal
Version:
A <2kb library for validating data of any kind
12 lines (9 loc) • 300 B
TypeScript
import { ValidationRule } from '../types/index.js';
/**
* @file Check to see if an object has a property, then return the value of that property.
* @name getProp.js
* @author Nick Krause
* @license MIT
*/
declare const getProp: (...properties: string[]) => ValidationRule;
export { getProp };