typescript

How to add one day to a date object in TypeScript

Learn how to add a day to current date or any date in TypeScript. This post will show you how to use the getDate and setDate methods to increment one day in TypeScript date objects.

Read
typescript

How to get the current date in TypeScript

Learn how to get the current date in TypeScript. Learn how to use the Date constructor to print the current date time in TypeScript.

Read
typescript

How to compile and run a TypeScript program

Learn to compile and run a TypeScript program. Learn how to install the typescript compiler, how to compile a typescript program and how to run the generated javascript file.

Read
typescript

4 ways in TypeScript to reverse a string

Different ways in TypeScript to reverse a string. Learn how to reverse a string by using a for loop, using a while loop, by splitting the string and recursively in TypeScript.

Read
typescript

TypeScript program to add two numbers

Different ways in TypeScript to add two numbers. Learn how to add numbers of different types and find the sum of two user given numbers.

Read
python

Python string islower method explanation with example

Python string islower() method is used to check if a string contains all lowercase characters or not. Learn how to use the islower() method with example.

Read
python

Python string isidentifier method explanation with example

Python string isidentifier method is used to check if a string is a valid identifier or not. Learn how to use isidentifier() method with examples.

Read
python

Python string isdigit() method explanation with example

Python string isdigit method is used to check if a string contains all digits. Learn how to use isdigit() method with examples.

Read
python

Python string isdecimal method explanation with example

Python string isdecimal method is used to check if a string contains all decimal characters. Learn how to use isdecimal method with examples.

Read
python

Python string isalpha method explanation with example

Python string isalpha method is used to check if a string contains all alphabetic characters. Learn how to use isalpha method with examples.

Read