ifonly is function that checks if your object have only and only specific properties you passed.
Primary LanguageJavaScript