Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
|
- 'use strict';
-
- var isPlainObject = require('is-plain-object').isPlainObject;
-
- function needsLookup(xtends) {
- if (typeof xtends === 'string' && xtends[0] === '.') {
- return true;
- }
-
- if (isPlainObject(xtends)) {
- // Objects always need lookup because they can't be used with `require()`
- return true;
- }
-
- return false;
- }
-
- module.exports = needsLookup;
|