{"@context":"https://w3id.org/codemeta/3.0","@type":"SoftwareSourceCode","identifier":"pkg:npm/%40stdlib/utils-if-else","name":"@stdlib/utils-if-else","description":"If a condition is truthy, return `x`; otherwise, return `y`.","version":"0.2.3","softwareVersion":"0.2.3","license":"https://spdx.org/licenses/Apache-2.0","codeRepository":"https://github.com/stdlib-js/utils-if-else","issueTracker":"https://github.com/stdlib-js/utils-if-else/issues","url":"https://stdlib.io","keywords":["stdlib","stdutils","stdutil","utilities","utility","utils","util","if","else","if-else","control","flow","condition","conditional","either-or"],"programmingLanguage":{"@type":"ComputerLanguage","name":"JavaScript"},"maintainer":[{"@type":"Person","name":"planeshifter"},{"@type":"Person","name":"rreusser"},{"@type":"Person","name":"stdlib-bot"},{"@type":"Person","name":"kgryte"}],"author":[{"@type":"Person","name":"planeshifter"},{"@type":"Person","name":"rreusser"},{"@type":"Person","name":"stdlib-bot"},{"@type":"Person","name":"kgryte"}],"copyrightHolder":[{"@type":"Person","name":"planeshifter"},{"@type":"Person","name":"rreusser"},{"@type":"Person","name":"stdlib-bot"},{"@type":"Person","name":"kgryte"}],"dateCreated":"2021-06-02","dateModified":"2026-02-01","datePublished":"2026-02-01","copyrightYear":2021,"downloadUrl":"https://registry.npmjs.org/@stdlib/utils-if-else/-/utils-if-else-0.2.3.tgz","applicationCategory":"npm","runtimePlatform":"npm","developmentStatus":"active","sameAs":["https://www.npmjs.com/package/@stdlib/utils-if-else"],"funder":[{"@type":"Organization","url":"https://opencollective.com/stdlib"},{"@type":"Organization","url":"https://github.com/sponsors/stdlib-js"},{"@type":"Organization","url":"https://tidelift.com/funding/github/npm/@stdlib/stdlib"}],"https://www.w3.org/ns/activitystreams#likes":2}