How to use the ramda-adjunct.isNotArray function in ramda-adjunct

To help you get started, we’ve selected a few ramda-adjunct examples, based on popular ways it is used in public projects.

github cablelabs / lpwanserver / ui / src / views / Networks / views / NetworkTypeView.js View on Github external
filter={np=>np.networkTypeId===id} render={ networkProtocols =>
          isNotArray(networkProtocols) ?
          <div></div> :
          networkProtocols.map((networkProtocol,key) =>
            <NetworkProtocolView
              {...{networkProtocol, key}} first={key===0}
            />
        )}/>
    </div>
github cablelabs / lpwanserver / ui / src / views / Networks / ListNetworks.js View on Github external
render={ networkTypes =>
         isNotArray(networkTypes) ?
         <div></div> :
         networkTypes.map((networkType,key) =>
           <NetworkTypeView
             {...{networkType, key}} first={key===0}
           />
         )
      }/>