Skip to content

vipinsharma22/Check_Datatype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Create a function TypeCheck that will accept a parameter and should print the data type of that parameter and it's contents too. Example:- var arr = [3,5,12];

check_datatype(arr) should print : Array : 3 5 12

check_datatype("vipin") should print : type : string value : vipin

check_datatype(10) should print : type : Number value : 10

check_datatype(true) should print : type : Boolean

check_datatype(null) should print : null

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published