Methods
(static) hasRequiredProps(required) → {function}
Example
const testProps = hasRequiredProps(["name", "date"]);
     if (testProps(userConfiguration)) {
       // Stuff
     }Parameters:
| Name | Type | Description | 
|---|---|---|
| required | Array.<String> | Array of properties to check for | 
Returns:
Function for user to use to test, fn(object) returns boolean whether all properties are set
- Type
- function