Update popper packages

This commit is contained in:
Samuele E. Locatelli
2020-01-31 16:44:33 +01:00
parent cbb68b36a7
commit 4b8ed3219b
485 changed files with 20619 additions and 13310 deletions
+14
View File
@@ -0,0 +1,14 @@
/**
* Check if the given variable is a function
* @method
* @memberof Popper.Utils
* @argument {Any} functionToCheck - variable to check
* @returns {Boolean} answer to: is a function?
*/
export default function isFunction(functionToCheck) {
const getType = {};
return (
functionToCheck &&
getType.toString.call(functionToCheck) === '[object Function]'
);
}