Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
msfidelis committed Mar 27, 2018
1 parent c31021e commit a4e8059
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,19 @@ console.log(newobject)
// { host: '54.178.12.44', port: '6379', database: 'raj' }
```

### Clean Objects (empty and undefined values)


```javascript
const objectReference = {a: undefined, b: "", c: "value"};
const objectToTest = {c: "value"};
const cleanObject = raj.cleanObject(objectReference);

console.log(cleanObject);

// {c: 'value'}
```

# Validation Indian Helpers

### Is string
Expand Down

0 comments on commit a4e8059

Please sign in to comment.