<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>
	Comments on: How to better check data types in javascript	</title>
	<atom:link href="https://webbjocke.com/javascript-check-data-types/feed/" rel="self" type="application/rss+xml" />
	<link>https://webbjocke.com/javascript-check-data-types/</link>
	<description>A blog about the web and programming</description>
	<lastBuildDate>Tue, 05 Nov 2019 08:12:10 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
			<item>
				<title>
				By: Mico				</title>
				<link>https://webbjocke.com/javascript-check-data-types/#comment-2491</link>
		<dc:creator><![CDATA[Mico]]></dc:creator>
		<pubDate>Tue, 05 Nov 2019 08:12:10 +0000</pubDate>
					<description><![CDATA[Excellent and useful article!!!]]></description>
		<content:encoded><![CDATA[<p>Excellent and useful article!!!</p>
]]></content:encoded>
						</item>
						<item>
				<title>
				By: Zakaria				</title>
				<link>https://webbjocke.com/javascript-check-data-types/#comment-2488</link>
		<dc:creator><![CDATA[Zakaria]]></dc:creator>
		<pubDate>Wed, 28 Aug 2019 15:45:35 +0000</pubDate>
					<description><![CDATA[Very helpful indeed! Thanks a lot. A lot of these should have something in native in JS I think.]]></description>
		<content:encoded><![CDATA[<p>Very helpful indeed! Thanks a lot. A lot of these should have something in native in JS I think.</p>
]]></content:encoded>
						</item>
						<item>
				<title>
				By: Suresh e				</title>
				<link>https://webbjocke.com/javascript-check-data-types/#comment-2485</link>
		<dc:creator><![CDATA[Suresh e]]></dc:creator>
		<pubDate>Sat, 29 Jun 2019 07:42:19 +0000</pubDate>
					<description><![CDATA[Thanks !!]]></description>
		<content:encoded><![CDATA[<p>Thanks !!</p>
]]></content:encoded>
						</item>
						<item>
				<title>
				By: Chad				</title>
				<link>https://webbjocke.com/javascript-check-data-types/#comment-2475</link>
		<dc:creator><![CDATA[Chad]]></dc:creator>
		<pubDate>Fri, 07 Sep 2018 16:52:22 +0000</pubDate>
					<description><![CDATA[If the function doesn&#039;t have side-effects, you can just call it and then test the return value. Since JavaScript isn&#039;t a strongly-typed language, there&#039;s no way of knowing what a function might return. It&#039;s possible a function could return different types depending on the input.]]></description>
		<content:encoded><![CDATA[<p>If the function doesn&#039;t have side-effects, you can just call it and then test the return value. Since JavaScript isn&#039;t a strongly-typed language, there&#039;s no way of knowing what a function might return. It&#039;s possible a function could return different types depending on the input.</p>
]]></content:encoded>
						</item>
						<item>
				<title>
				By: Kristian				</title>
				<link>https://webbjocke.com/javascript-check-data-types/#comment-2474</link>
		<dc:creator><![CDATA[Kristian]]></dc:creator>
		<pubDate>Thu, 06 Sep 2018 09:44:27 +0000</pubDate>
					<description><![CDATA[great overview, thanks for sharing!
I am trying to figure out if a function returns a string. But of course whenever I check typeof myCuteFunction it returns function of course.
Do you have an idea how to check which type a function returns?
regards
Kristian]]></description>
		<content:encoded><![CDATA[<p>great overview, thanks for sharing!</p>
<p>I am trying to figure out if a function returns a string. But of course whenever I check typeof myCuteFunction it returns function of course.</p>
<p>Do you have an idea how to check which type a function returns?</p>
<p>regards<br />
Kristian</p>
]]></content:encoded>
						</item>
						<item>
				<title>
				By: Jay Jay				</title>
				<link>https://webbjocke.com/javascript-check-data-types/#comment-2473</link>
		<dc:creator><![CDATA[Jay Jay]]></dc:creator>
		<pubDate>Wed, 22 Aug 2018 16:55:02 +0000</pubDate>
					<description><![CDATA[Nice. How to check unknown type?  Is there a simple one line of code to check?]]></description>
		<content:encoded><![CDATA[<p>Nice. How to check unknown type?  Is there a simple one line of code to check?</p>
]]></content:encoded>
						</item>
						<item>
				<title>
				By: Amit				</title>
				<link>https://webbjocke.com/javascript-check-data-types/#comment-2468</link>
		<dc:creator><![CDATA[Amit]]></dc:creator>
		<pubDate>Wed, 11 Jul 2018 07:49:32 +0000</pubDate>
					<description><![CDATA[This was very helpful. Thanks for giving me a handy guide on Javascript datatypes.]]></description>
		<content:encoded><![CDATA[<p>This was very helpful. Thanks for giving me a handy guide on Javascript datatypes.</p>
]]></content:encoded>
						</item>
						<item>
				<title>
				By: Rory				</title>
				<link>https://webbjocke.com/javascript-check-data-types/#comment-2467</link>
		<dc:creator><![CDATA[Rory]]></dc:creator>
		<pubDate>Thu, 07 Jun 2018 12:18:23 +0000</pubDate>
					<description><![CDATA[Awesome guide, thanks. It&#039;s great the JavaScript community is taking on board type checking now. Really like TypeScript for this but when writing in Vanilla not always so straight forward. typeof really doesn&#039;t do the job...
Shared on twitter :)]]></description>
		<content:encoded><![CDATA[<p>Awesome guide, thanks. It&#039;s great the JavaScript community is taking on board type checking now. Really like TypeScript for this but when writing in Vanilla not always so straight forward. typeof really doesn&#039;t do the job&#8230;</p>
<p>Shared on twitter :)</p>
]]></content:encoded>
						</item>
						<item>
				<title>
				By: webbjocke				</title>
				<link>https://webbjocke.com/javascript-check-data-types/#comment-2466</link>
		<dc:creator><![CDATA[webbjocke]]></dc:creator>
		<pubDate>Tue, 29 May 2018 06:34:11 +0000</pubDate>
					<description><![CDATA[Yes you can actually, it might be a bit overkill when I think about it.]]></description>
		<content:encoded><![CDATA[<p>Yes you can actually, it might be a bit overkill when I think about it.</p>
]]></content:encoded>
						</item>
						<item>
				<title>
				By: Saliman Uva				</title>
				<link>https://webbjocke.com/javascript-check-data-types/#comment-2465</link>
		<dc:creator><![CDATA[Saliman Uva]]></dc:creator>
		<pubDate>Mon, 28 May 2018 10:27:32 +0000</pubDate>
					<description><![CDATA[For regex checking, we can ignore  this &quot;typeof value === &#039;object&#039;&quot;  checking, right? since it&#039;s as value.constructor type checking.]]></description>
		<content:encoded><![CDATA[<p>For regex checking, we can ignore  this &quot;typeof value === &#039;object&#039;&quot;  checking, right? since it&#039;s as value.constructor type checking.</p>
]]></content:encoded>
						</item>
			</channel>
</rss>
