forked from enviPath/enviPy
Current Dev State
This commit is contained in:
5
static/js/ketcher2/node_modules/ternary/index.js
generated
vendored
Normal file
5
static/js/ketcher2/node_modules/ternary/index.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
'use strict'
|
||||
|
||||
module.exports = function ternary (condition, expr1, expr2) {
|
||||
return condition + ' ? ' + expr1 + ' : ' + expr2
|
||||
}
|
||||
Reference in New Issue
Block a user