Skip to content

Add "has" method for checking if keys exist

Compare
Choose a tag to compare
@omrilotan omrilotan released this 02 Jan 15:07
· 12 commits to master since this release
bd0da6c

Example usage

i18n.has('key');
i18n.has(['key', 'other_key']);
i18n.has('namespace.key');
i18n.has('key', { $scope: 'namespace' });