Initial commit: 11ty website with Fire/Frost branding
This commit is contained in:
17
node_modules/evaluate-value/index.js
generated
vendored
Normal file
17
node_modules/evaluate-value/index.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
"use strict";
|
||||
|
||||
|
||||
|
||||
const evaluateValue = (value, ...args) =>
|
||||
{
|
||||
if (typeof value === "function")
|
||||
{
|
||||
return value(...args);
|
||||
}
|
||||
|
||||
return value;
|
||||
};
|
||||
|
||||
|
||||
|
||||
module.exports = evaluateValue;
|
||||
Reference in New Issue
Block a user