add support for single blueprinter in config

This commit is contained in:
Unknown
2018-11-06 15:58:54 +00:00
committed by Lachlan Kermode
parent 17395d07a2
commit 5d8db90618
3 changed files with 39 additions and 16 deletions

View File

@@ -85,3 +85,9 @@ export function bp(full) {
});
return blueprint;
}
export function isFunction(functionToCheck) {
return (
functionToCheck && {}.toString.call(functionToCheck) === "[object Function]"
);
}