js is date

Solutions on MaxInterview for js is date by the best coders in the world

showing results for - "js is date"
Pia
26 Jan 2018
1var myDate=new Date();
2if(myDate instanceof Date){
3    //im a hot Date
4}
Mia
07 Nov 2020
1//checks if is object, null val returns false
2function isObject(val) {
3    if (val === null) { return false;}
4    return ( (typeof val === 'function') || (typeof val === 'object') );
5}
6var person = {"name":"Boby Snark"};
7isObject(person);//true
Máximo
09 Nov 2016
1typeof date.getMonth === 'function'
2// you can use the instanceof operator, i.e. But it will return true for invalid dates too, e.g. new Date('random_string') is also instance of Date
3date instanceof Date
4// This will fail if objects are passed across frame boundaries.
5// A work-around for this is to check the object's class via
6Object.prototype.toString.call(date) === '[object Date]'
queries leading to this page
check to see if value is object javasciptif typeof objectnot instanceof javascriptcheck if an element is an object javascriptis object functionjscheck is data is an objectcheck if its object javascriptjavascript check if is an objectcheck if variable is object 5c javascriptnodejs check if variable is objectcheck if type has an objectcheck to see if object javascriptcheck if datetime have 24date javascriptcheck if type of variable is object javascriptinstanceof javascript examplecheck if the type is an object in javascriptnode js check if element is a datecheck if object is function javascriptes6 object is js check if variable is onjectobject isemptyjs check if type is objectobject is 28 29 in javascriptjavascript is datemdn is objectcheck if date object javascriptjs check if variable is objecthow to check js if object is createcheck if a value is an object javascriptcheck date object nodejsif there is an object with data javascriptjavascrit is objectjavascript check if objectif 28variable in obj 29 javascriptjs check if function or objectcheck if is date javascriptcheck a date object nodejsjavascript to check if the value is datehow to check if an element is an object in javascripthow to check if object value in jsjavascript is obejcthow to check if a value is object in javascriptjs how check is objecthow an object is an object in javascriptcheck is object jshow to check if object is 7b 7dif 28date typeof date 29 check if data is object javascriptcheck if var is an object javascriptif value is date javascriptjavascript check if item is objecttest object javascriptcheck if variable is an objectuse a variable to check javascript objectes6 object checkes6 check objectcheck if its an objectcheck if value is date object javascriptjs why 5b 5d is an objectcheck if data javascriptis this an object javascriptin js how to check is that an object or notjavascript es5 typeof 28dataitem 29 3d 3d 3d 27date 27javascript is a objectinstanceof javascriptcheck if element is object javascriptis javascript object ohow to check for typeof date javascriptcheck if is object in javascriptcheck if type date javascriptjavascript how to check if a variable is an objecthas value date javascriptcheck if type of objectjavascript check if it is objectcheck if valiable is object javascripthow to check if a js variable is an object check that a value is a date object in node 3fhow to check an object is an object in javascriptwhat is the best method to check if an object is a date object 3fjavascript check if object validif type is objectjs test if typof objectjavascript check for existence of objecthow to check if is object javascriptjavascript 2b check is objectjavascript check if an objectjavascript is ibjecthow to check if value in object is a variable javascriptcheck if js object is object or nottest if its an objectif is date typejavscript is datehow to tell if something is an object in javascripthow to chech if a variable is an object in javascriptjs get type datecheck data if 5b 7b 7d 5d javascripthow check if variable is comples object in javascripthow to check the object in javascriptjs check object is datetimecheck objectjavascript test iof object os not 7b 7dhow to check every value of object and internal objecthow to assert if a varaible is an objectcheck is date jscheck if object type javascriptan function that check if value is object javascriptisof type date typescript htmljavascript date is objectjs date check typehow to check if var is object jscheck if objectcheck if object is date nodeobject isjavascript test iof object os not 7bcheck if is datecheck if object javascriptjavascript check variable is objecttest js if function returns an objectjquery detect if a value in an object is an objectjavascript check if object is an objecthow to check if an element is in an object javascriptcheck if input is objecttypescript check whether an input is a date object or notjs typeof datecheck if value is an objectif is object javascriptif 28 21input 29 return true 3b if 28typeof obj 3d 3d 3d 27object 27 29 7b for 28const entry of object values 28obj 29 29 7b if 28 21deepcheckemptyarray 28entry 29 29 7b return false 3b 7d 7d return true 3b 7djavascript data is objectjs function is objectchecking if value is an object jsinstance of datehow to check a variable is an object in javascriptjavascript check if datejs check if property is objectis object node jshow to check whether an object is of type date in javascriptcheck if is date object javascriptget the type of an object javascriptjavascript identify object typeconditional check if typeof something is object javascriptjs test is objecthow to know it is an objectcheck if variable is an object jsjava check if object is datecheck type is object javascriptcheck value is date object in nodehow to check if an object is a date javascriptcheck var is object or value in javascripthow to check if data is an object javascriptcheck if date jsjs variable is objecthow to validate a object plus valiable number in javascriptcheck if it is object jsisobject or notcheck if type is object javascriptjs check objecthow to check an objectjavascript isobject checkjs check if value is objectcheck if the varible is a objecthow to check if something is object jscheck if object typescriptjs test if is objjavascript is object javascript check if item is an objecthow to check if variable is a objectcheck if parameter is object javascriptjavascript testing whether value an objectjavascript typeof object checkjavascript if object is a datecheck if object is date javascriptcheck whethergiven argument is object or notcheck if typeof is object in jsjs check date objectcheck if js object is 7bjs if var is objectjavascript check if is datehow to check if an object is a date object javascriptcheck if object is object javascriptcheck if date was in a time frame jsjavascript is date checkhow to check is object in javascriptcheck if a variable is an object jsjavascript is variable is objectobject js ishow to check if variable is object in javascriptsi and object jsjs is object a functioncheck datae object in nodejavascript if something is an objectfunction js is objectcheck if an objecthow to check if particular value is in object javascripttest if object jscheck type on object in js 22string 22 instance of string javascripttypeof check objectcheck if is object javsacriptif element is type object javascriptjavascript date typeofcheck for type of datejavascript check for objectjavascrtipt check if object is datehow to check variable type is object in javascriptcheck if date javascripttest if variable is object objecthow to check if there is something in an objecttypeof javascript datecheck is obejcthow to check variable from objecthow to check if the value is a date object in node jsjs how to check if its objecthow to check if objectjs test if objecttypeof date jsjavascript check if type objectcheck if is object javascript es6to check if a var is object or not in javascriptcheck object type javascripttypcript instance of stringif type of no objecthow to check if object is object javascriptcheck if an element is an objectcheck if date object is empty typescriptcheck variable is object javascriptnode how to check if calue is date objecthow to check value in a date object is nodedetermine if variable is object javascriptcheck is date in javascriptverify if variable is objecttypescript check if is an objectcheck if object i datetime javascriptobject check in javascriptif 28 21input 29 return true 3b if 28typeof input 3d 3d 3d 27object 27 29 7b for 28const entry of object values 28obj 29 29 7b if 28 21deepcheckemptyarray 28entry 29 29 7b return false 3b 7d 7d return true 3b 7dobject is objevt jshow to check if something is an object jshow to check object is date in node jsobject isobjectcheck if js is objectjavascript how to check what an object iswhole js is a objectcheck if it is object javascriptcheck whether a varibale is an object in javascriptis date object javascripthow to identify object in javascriptcheck for an objectif is objcheck object variable js find type elementcheck if type is objectjavasript is objectcheck if string is valid objectwhat is one way to check that a value is a date object in nodetypescript check if value is datecheck if string is object javascriptis an object javascripthow to check if object or not in javascriptjs check if in objectjs object isjavascript test if object is dateinstance of number javascripthow to check date object jscheck if value is javascript objectcheck if is date in jsjtypeof datejs check if not objectjavascript check if object is a functionjavascript check if type is datecheck if a variable is an object javascripthow to test if a variable is oject in jscheck date object in nodejavascript test if variable type is objectif is objectjs how to check if object is datecheck date is not available in javascriptjavascript how to check object 5cjs check if object icheck if date is javascript check if value is an objectcheck if its object jsmdn object ischeck if variable is string or object javascriptjs type of datejavascript check if variable is an objectjavascript if variable is objectcheck for object objectjavascript typeof timestampjavascript check if it is an objectjavascript check if datatype is objectjs if variable is in objectjavascript check if function or objectjavascript enumerate object for typeof datejavascript is value an objecttypescript ckeck if is datehow to check the variable is object or not in javascriptcheck if object is datetime javascriptjs isobject checkif check object javascriptif typeof 3d 3d obectes6 check is objecthow to check if parameter is equal to key value object in javascriptif is a nisobject typescriptcheck if an object is a date javascriptcheck oibject is an ajs check if any value of an object is setjs object is objecthow to check javascript objectobject is date javascriptcheck value is a date object in nodewhta is objectcheck if string is member of object jscheck if variable is object javascript 5cjs check if type objectjs object ishow to check is value has date typehow to check apram is instance of object in jshow to see if object is trueobject is in jsdetermine if item is an objecthow to check object objectangular check if is datejavascript check item typejavascript is object functionhow to check whether it is an object in jsjavascript if item is not objectjs check is objectif 28obj 29 jshcheck if variable is and object jsan object isobject is javascriptjs see if object is a classcheck for object javascriptjavascript how to check if date objectis date javascriptjavascript testing for an objectjs var is objectjs check for date typeif typeof is object jsangularjs check value typeof equals dateis objectcheck if value is date typescriptjavascript how to check typehow to tell if an object is a date object jscheck if isobject javscriptobject is in javascriptjavascript is an objectnode check if value is date objecttype check object javascriptcheck if value is objectjavascriptis this a object in jsjs why 5b 5d is objectnode js is objectjavascript check value is objectchecking is a param is a objectcheck a value is date object nodejavascript test if is datehow do you check that a value is a date object in nodeif 28value instanceof date 29 7b return false 3b 7d else 7b return value instanceof object 3b 7djest typeof datecheck if is object javascriptis value a date javascriptif 5bobject object 5d 7b 7dcheck if element is in object javascriptjs is type of datecheck if it is object or notjavascript check if it 27s a datecheck if var is object javascripthow to check if a variable is a object jshow to check if argument is type of objecthow to check for an object in javascriptchek object or not 5b is objectobject is jscheck if object is validjavascript if object is 7b 7djsc heck if is objecthow to check objectinstanceof in javascriptjavascript how to check if object is datejavascript not of objecthow to check if variable is an object in javascriptjavascript use if 28object 29check if field is date javascriptjavascript if is an objectjavascript test is objectjs check if var is objectis object jchec if is datetypescript check date typecheck if object jshow to check if an objecrt is a date in javascriptjs not objectcheck for value in object and return accordinglywht is objectis class is an objecthow to check that a value is a date object in nodeis object checkif object java scriptdetect object jsjavascrip check if is objecthow to check if an object is date node jscheck if a variale is objecttypescript if typeof value 3d datejs check if there is something in an objectisobject javascript es6jsavascript check if item is valuejs if object is datecheck for is date in javascriptes6 check if object variablescheck if value is object jscheck if object type of date javascripthow to check a variable if is a js objectjavascript check if value is objecthow to check if a value is in an object javascript variable in objectjava verify id object is dateis variable in js is objectcheck if something is an object javascriptcheck if variable is object in javascriptvalue is date javascriptjavascript is object but not date or arraydo if is object javascriptjavascript check if variable is objecthow to check if something is in an object javascriptis object in javascriptjs see if value is objectis typeof javascript datehow to tell if something is in an object or not js check if is objectshow to check if something is in js objectnodejs check if object is datechecking is in object in jscheck if type object javascriptcheck value of date object in node jstest if object javascriptcheck if parameter is objectif 28 21object 29if is date javascriptchec if var i object jsobject is 2cis object in jsjs find if data is differentcheck before declaring object jscheck is object in javascriptcheck if obj is objcheck if object type in jshow to check if something is in an object javascript variable in objecthow to check if a var is object jsjavascript not instanceof datecheck if the variable is objecttypeof 28dataitem 29 3d 3d 3d 27date 27check is objectjavascripthow to find whether the element is object or notjavascript check if type is objectis object 3fhow to determine if something is an objectcheck to see if something is an object javascripthow to check if it is an object 5ccheck to see if object in javascriptjavascript object is objectjs check if its stringjs isobject es6javascript typeof 28dataitem 29 3d 3d 3d 27date 27js if value is datecheck date object in javascriptjs instanceof date is bojectobject in js isjavascript check is dateisof type date typescriptjavascript if typeof dateif variable is object javascriptisobject javascript is not definiedcheck if variable is not an objecthow to check if something status of obejct in javascriptknwo if variable isnt an object in javascriptjavascript check if data is objectif 28 21obj 29 return true 3b if 28typeof obj 3d 3d 3d 27object 27 29 7b for 28const entry of object values 28obj 29 29 7b if 28 21deepcheckemptyarray 28entry 29 29 7b return false 3b 7d 7d return true 3b 7dcheck date object value in node dateif objecfobject is in javascriptif objectjavascript check isobjectis object check in jscheck an object for an ovject jsjs see if objecthow to check if variable type is objectnode js check if it is an objectcheck if it objects javascriptdetect if object is datetimecheck if the whole objectjavascript date is a datecehck if obj js 5b 7b e2 80 a6 7d 2c 7b e2 80 a6 7d 2c 7b e2 80 a6 7d 5d is objecthow to know if a date is a date jsjavascript check if type equals objectjavascript check if is objectjavascript detect if object is dateobject is object jshow to check object javascriptjavascript check if element is datehow to check type of the date js check if date ajvascriptis a date javascriptjs is object checkcheck if the variable is an object jsnodejs is datecheck existence of object in javascriptpoint an object if a variable javascripthow to check object type in javascriptjavascript how to get typeof for datehow to check if variable is object in typescripthow to know if an its an objecttypeof new date in typescriptreact date typeof objectcheck if type date jstypeof 28date 29check if number or date javascriptjs if 28item 29check if data is an objectis date in jsjavascript function is objectjavascript how to check if a variable is not an objectcheck if varibale is objectcheck if var is object jsif data in object jstypescript check if variable ois of objectjs how to detect object numberjavascript check variable objectcheck if variable is object angularjs testing if oject is created successfullycheck object in javascriptexpect typeof datetypescript how to check if variable is objectcheck if it is an object jsfind out what type somthing is jshow to check if a variable is a specific object in jscheck if variable objecthow to cheak if its a type of objectes6 how to check is objecthow to tell if something is in an object or not in javascriptjs if variable is objectcheck if object is of type date javascripttypescript check if class type is date date is not in date objectjavascript objectjs if typeof 3d 3d 3d datejavascipt is objectis object jsjavascript check property typejs check if objectthow to check if an object is a function javascriptjs check if a object will breakhow to check whether it is object or not in javascriptcheck if value is an object javascripthow to check if an item is an object javascriptjavascript object ischeck value is an object jsjavascript detect if date is object or stringcheck if element is an object javascriptif not to object javascripthow to check if it is object in javascriptcheck if object is date time javascriptjavascript is objectcheck if type is object jsif is an object javascriptcheck if object is object is obj jsjs objectjavascript check typenode check if its dateisjavascript objectcheck if parameter is an objectcheck is date javascriptwhta is object jsjavascript check if value is date objectcheck if variable is in objects javascriptcheck a value is a date object in nodejs check for objectcheck if variable is an object javascriptcheck if object is a itemcheck if variable is object javascriptfind if its a object in jsjavascript object is a datecheck if a variable is an objectjavascript typeof datehow to compare typeof date in javascriptnode how to check if a value is a date objectcheck variable of type object javascripobject is in javascriptis date check jscheck if type datejs how to check if something is an objectshortway to check a value is in a object javascriptjs check is datejs if datenodejs check if is objecthow to check if a variable is an object in javascriptjavascript check if object is a date objethow to check if an object is an objecthow do i find if a variable is an object 3fcheck if value is object javascriptcheck if data is objecthow to test if ojbect is of type objcshow to check if a value is an object in javascriptcheck if is objectjavacscript check if variable is object es6check if object is correct datejs check if objectsjavascript check if not objectcheck if var is specific objectis it date jsjs is objectjs is object 3fjs if it is datejavascript if 28obj 29instanceof object equivalent in reactjsjs if is objectcheck date object jscheck isobject in javascriptif object javascriptcheck if date has value in typescriptcheck item is an objectwhat is one way to check that a value is a date object in node 3fjavascript checking if is objectjavascript how to check if vairbale is objectjavascript if not objecthow to check if the date in jsjs if string is datees6 chack if ojbectjavascript instanceof date formatjs check if date objectcheck if a variable is an object in javascripthow to check a variable is object in javascripthow to check if object javascriptjavascript check if element is an objecteck if variable is object jsjavascript check if object is objectknow if variable is objectjs string is objectcheck to see if value is an object javascriptjavascript typeof date object is string 3fjavascript chec if datejavascript type of object testget if object is acheck if string is object value javascriptcheck if a value is objectcheck variables of object jsjavascrip is objectcheck variable isobject javascripthow to check if type of object in javascriptjs check if it is date objectjavascript test if an object is an object not a datehow to check if object is an object javascriptjavascript check instanceof timestampjs if variable in objectcheck if is it object ajvascripthow to check if something is an object in javascriptjavascript check if object is of type elementhow to check if argument is object jsts check if value matches object typetypescript check if objectjs to identify id the variable is objectjavascript check is a objectjavascript is obobject is objectchecking if an object is a datejs check if is objecttypeof date returns stringobject is object javascriptjs check typejavascript check parameter object typrdetermining if something is an object jsjavascript if object is objectis object of jsif date jstypescript check value is datecheck if object checkedhow to check if varible is an object jshow to check value in a date object in nodehow to check if value is object javascriptjavascript check object 21object ischeck if object is of type objectcheck if value is plain javscript objectjas how to check instance of datejs check if object is datecheck if the variablee is object in tyopescriptjs check if it is objectjavascript typeof date is objecttest if variable is object javascriptif 24item is variablehow to check if item is in object jsif type is not date typescriptobject check in es6what is type of date in jscheck date object value in nodecheck if variable is dom objectis object 5ccheck if value is date objectjavascritp check if is datehow to check existence of object value in javascriptobject ischeck if object is a functionjavascripte is dateis object javascriptcheck variable is objectjs check if is datecheck if a variable is a datetime javascriptif var is object jshow to check if typeof object is key value in javascriptcheck is object javascriptjavascript es6 isdate 28 29if 28object 29 in javascriptcheck typeof object javascirptjs how to check if type is objectjavascript is object checkjava verify if object is datejs how to tell if plain object and not arrayjavascript if new objis date in javascripthow to check the value is object in react testingcheck if object is datejavascript if is objecthow to check if a variable has objectts check if variable is objectif object jshow do u check that value is a date object in node jsverify content of object javascriptcheck if a variable is string or object jses6 is objectcheck if javascript variable is an objectcheck object jshow to check if param is objecthow to check if object in javascriptcheck if item is objecthow to check if element is object javascriptcheck if object is an object javascriptjavascript check typeof objectangular typeof datecheck if object or not jsdate object typeangulr check if objectjavascript check item tipetypeof date typescriptjavascript check fi objectan object is ahow to check if an object is in an object javascriptcheck if an object is an object javascriptif something is in an objecttypescript check if is datejs check if objectif 28 21obj 29javascript test if objectcheck if variable is object tyoescriptjs check if datecheck if is an object javascriptjs check if a variable is an objectjs check if value is datejavascript check if element is objectif 28object 29 javascriptcheck date object value in node isdatejavascript check if value is a datejs how to check if it 27s an objectobject 2cisjavascript check if is objectobject is javascriptdate object typeofhow to check if a variable is an objecthow to check object in javascriptjavascript is it an objectcheck if variable is objectcheck if it 27s an object javascriptjs if objectvalidate variable is typeof filehow to check variable in object jsis an object jscheck if object isis object 3d 3d 3d objectobject is javascriptcheck if its date objecthow to look at the type of an object in javascriptjs test if variable is objecttest if objecthow to check type of object in javascriptobject is js js check value typesee what variable is object of jsobject is 28 29how to check object type jscjavascript check if something is in an objectjavascript if item is objectmdn object isjs check if type of objecttypeof date nowjs is an objecthow to check if there is an object in jscheck is variable object javascripthow to check value is date or not in javascriptjavascript check if 7b 7d is an objectcheck if a value is an objecttypescript get if variable is datetype of 28if 5bobject object 5d 7b 7d 29javascript look if object parameter matchknow if the type of the var is object in jshow to check variable is object in javascripthow to check data is date in jscheck if value is an object in javascriptjavascript check if object is datevalue is 5bobject 2c object 5dtest if var is an objectverify if value is date object matematicajs check if object is of typehow to assert if a varaible is an object in javascripthow to see if something is an objecthow to check if a variable is object or not in javascriptcheck if value is a date javascriptcheck to see if value is an objectjavascript check if var is objectjavascript how to tell if a value is a datejavascript need typeof object check when value i thruets check if object can newcheck if javascript object is objectinstanceof javascript objectjavascript is a datejs check if value is an objectjavascript detect if variable is objectjavascript check if parameter is objectis this an objectin javascript how to check if objectjavascript if it is objecthow to check if a variable is object in javascriptjs check if object value is typees6 check if objectjavascript check object is datejs check if object is functionhow to check whether a data is object or nothow to check type of the datejs check isobjecthow to check if something is an object javascripttype check for date objectis object check in javascriptjs check is func c3 actionjavascript is objectcheck what type of object a variable is javascriptjavasrcipt if is date 3d 3d 3d checks for objeccheck if a variable is a object javascriptjavascript check if object value is numberto check if a date is a datecheck if is object typescripttypeof date javascriptjavascript object ischeck if its an object javascriptvar is object javascriptcheck if it is a object javascripthow do i check if it is an object in jsnode check value date objectjavascript check if object is functionhow to check object or not in javascriptjavascript check type of objectis variable an object javascripthow to check objectscheck is objectcheck response value is type of jscheck if ovariable is an object jsjavascript type of datees6 isobjectcheck for object in javascriptcheck type object javascriptjs check what object a var isjavascript is date objecthow do i verify my object javascriptjavascript check if date objectobject is objectcheck if check in object jsjs check if variable is an objectjs is dateobject is in javascriptif object check jscheck if is object jsjavascript is object 3ftypescript check if value is an objectobject ischeck if a variable is object javascriptjs is object in objectcheck objtesting if not object javascripthow to check if something is a date object javascriptjavascript if objectcheck javascript if is datecheck if a value is an object in javascripthow to check if object 5ccheck if datatype is objectcheck value is object javascriptjs check if it is a objectcheck if it is an object javascripthow to check object is not or not or nothow to check if there ar no details about an objects 3fcheck is a vlaue is an object javascriptjavascript value is datejs variable of type datecheck if datejavascript check if datetimets check if object assignedcheck if value is an object es6how to check that it is of type object in javascriptcheck if variable is object jsis a date jsjavascript how check if a object is datecheck if value is date javascriptobject is in jscheck if there is something in any object typescriptjavascript check var is objectjavascript check if infront of objectcheck type of date in javascriptcheck if object javascriptjavascript how to see if something is an objectstring is date javascripthow to check if object is objectcheck value is object javascriptcheck if the variable is string or object in jscheck if variable is object or string javascriptjs check if instance is objecttypescript test for object creationhow to know if var is js objectcheck if the object value is datehow to check if something at a certain time jsjavascript if dateis obj in javasxript of or incheck if something is object javascriptjavascript check if a variable is an objectcheck if object is a datejs determine if objecttypescript isobject checkis date jscheck to see if value is objectcheck to see if javascript variable is objectknow is a value is 5b 5d jsjavascript test for objectshow to do if check on an object in javascripthow to check if it is an object in javascriptjs is date objectjs check whether object or notnode js check if its a date objectjavascript check if something is in an objectcheck is it 27s an objectcheck if something is an object in jsjavascript date type checkwaht is object in javascriptjs is boejctcheck if date obj jscorrect way to check if its 27 objectcheck if object value is object javascriptjs check if variable is object or stringcheck if object variable jscheck if object in javascriptcheck if objhow to checl if variable is object javascripthoto check if object is string or datasetcheck value is object in javascriptcheck if object is date jsis object 3d 3d 3d object javascriptcheck if item is an object javascriptif value is data javascriptcheck if object 3d 3d 3d objectjavascript recocmize objectsfind dates in object javascriptfunction to check if the return type is datehow to check answers to a confirm and array objects in javascriptjavascriptcheck if objectjavascript object is a 3fcheck object javascriptcheck if js object is 7b 7djavascript check is objectnode js check if objec tis datehow to check variable is object or not in javascriptjs check if something is an objectfind a date in object javascriptcheck variable is object in javascriptcheck object object in javascriptcheck if objectstest if variable is an objecthow to chekc if element is object text in jsjs if var is an objectcheck that a value is a date object in nodejavascript instanceof datecheck if instance of object 3d trueif is a date objectjavascript check is an objectif object isjs is date