UNPKG

extant

Version:

Basically, SQL COALESCE in JavaScript; return the first value that is not null.

21 lines (16 loc) 984 B
[![Actions Status](https://github.com/bigeasy/extant/workflows/Node%20CI/badge.svg)](https://github.com/bigeasy/extant/actions) [![codecov](https://codecov.io/gh/bigeasy/extant/branch/master/graph/badge.svg)](https://codecov.io/gh/bigeasy/extant) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) Basically, SQL COALESCE in JavaScript; return the first value that is not null. | What | Where | | --- | --- | | Discussion | https://github.com/bigeasy/extant/issues/1 | | Documentation | https://bigeasy.github.io/extant | | Source | https://github.com/bigeasy/extant | | Issues | https://github.com/bigeasy/extant/issues | | CI | https://travis-ci.org/bigeasy/extant | | Coverage: | https://codecov.io/gh/bigeasy/extant | | License: | MIT | ``` npm install extant ```