Has - Checks if path is a direct property of object.
{boolean}
has({ 'a': { 'b': 2 } }, 'a');// returns truehas({ 'a': { 'b': 2 } }, 'a');// returns true Copy
has({ 'a': { 'b': 2 } }, 'a');// returns truehas({ 'a': { 'b': 2 } }, 'a');// returns true
Generated using TypeDoc
Has - Checks if path is a direct property of object.