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

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