Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // my data tree
- {
- entity: {
- externalEntity: {
- persons: [],
- organizations: []
- },
- internalEntity: {
- humanResources: [],
- departments: []
- }
- }
- }
- // returns the final type of entity (person, organization, humanResource or department)
- function returnTypeOfEntity() {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement