nl_tokens: Public Methods Returns a getDomain function
pl_tokens: function createDomainFunction ( getDomainFromDataFunction , formatDomainFunction ) { getDomainFromDataFunction = isFunction ( getDomainFromDataFunction ) ? getDomainFromDataFunction : getDomainFromData ; formatDomainFunction = isFunction ( formatDomainFunction ) ? formatDomainFunction : formatDomain ; return ( props , axis ) => { const propsDomain = getDomainFromProps ( props , axis ) ; if ( propsDomain ) { return formatDomainFunction ( propsDomain , props , axis ) ; } const categories = Data . getCategories ( props , axis ) ; const domain = categories ? getDomainFromCategories ( props , axis , categories ) : getDomainFromDataFunction ( props , axis ) ; return domain ? formatDomainFunction ( <mask> , props , axis ) : undefined ; } ; }