Skip to main content
Module

x/ts_morph/ts_morph.d.ts>FalseLiteral#setLiteralValue

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method FalseLiteral.prototype.setLiteralValue
import { FalseLiteral } from "https://deno.land/x/ts_morph@15.1.0/ts_morph.d.ts";

Sets the literal value.

Note: This forgets the current node and returns the new node if the value changes.

Parameters

value: boolean
  • Value to set.