lib/util/get-resolve-paths.js
function get(option) {
    if (option && option.resolvePaths && Array.isArray(option.resolvePaths)) {
        return option.resolvePaths.map(String)
    }
    return null
}
function get(option) {
    if (option && option.resolvePaths && Array.isArray(option.resolvePaths)) {
        return option.resolvePaths.map(String)
    }
    return null
}
function get ( option ) { if ( option && option . resolvePaths && Array . isArray ( option . resolvePaths ) ) { return option . resolvePaths . map ( String ) } return null }
Gets `resolvePaths` property from a given option object.

@param {object|undefined} option - An option object to get.
@returns {string[]|null} The `allowModules` value, or `null`.
Gets resolvePaths property from a given option object .