Lodash first and get

node v10.24.1
version: 1.0.0
endpointsharetweet
var _ = require("lodash") // var arr = [{col: null}]; // var arr = []; _.get(_.first(arr), 'col') !== null
Created from: https://lodash.com/
Loading…

no comments

    sign in to comment