Void vs Undefined - What's the difference?
void | undefined |
Containing nothing; empty; vacant; not occupied; not filled.
* Bible, Genesis i. 2
* Shakespeare
* Massinger
Having no incumbent; unoccupied; said of offices etc.
* Camden
Being without; destitute; devoid.
* Bible, Proverbs xi. 12
Not producing any effect; ineffectual; vain.
* Bible, Isa. lv. 11
* Bible, Jer. xix. 7
Of no legal force or effect, incapable of confirmation or ratification.
Containing no immaterial quality; destitute of mind or soul.
* Alexander Pope
(computing, programming, of a function or method) That does not return a value.
* 2005 , Craig Larman, Applying UML and patterns
* 2007 , Andrew Krause, Foundations of GTK+ Development
An empty space; a vacuum.
* Alexander Pope
(astronomy) An extended region of space containing no galaxies
(materials science) A collection of adjacent vacancies inside a crystal lattice.
(fluid mechanics) A pocket of vapour inside a fluid flow, created by cavitation.
(label) To make invalid or worthless.
:
* (1609-1674)
*:It was become a practiceto void the security that was at any time given for money so borrowed.
*(w) (1643-1715)
*:after they had voided the obligation of the oath he had taken
To empty.
:
To throw or send out; to evacuate; to emit; to discharge.
:
*
*:You, that did void your rheum upon my beard, And foot me as you spurn a stranger cur
*(John Webster) (c.1580-c.1634)
*:With shovel, like a fury, voided out / The earth and scattered bones.
*(Isaac Barrow) (1630-1677)
*:a watchful application of mind in voiding prejudices
To withdraw, depart.
*:
*:BY than come in to the feld kynge Ban as fyers as a lyon/ Ha a said kyng Lot we must be discomfyte / for yonder I see the moste valyaunt knyght of the world / and the man of the most renoume / for suche ij bretheren as is kyng Ban & kyng bors ar not lyuynge / wherfore we must nedes voyde or deye
To remove the contents of; to make or leave vacant or empty; to quit; to leave.
:
* '>citation
*
*:If they will fight with us, bid them come down, / Or void the field.
* 2011 , Thomas Penn, Winter King , Penguin 2012, p. 68:
Lacking a definition or value.
(mathematics, computing) That does not have a meaning and is thus not assigned an interpretation.
As adjectives the difference between void and undefined
is that void is containing nothing; empty; vacant; not occupied; not filled while undefined is lacking a definition or value.As a noun void
is an empty space; a vacuum or void can be .As a verb void
is (label) to make invalid or worthless.void
English
(wikipedia void)Etymology 1
From (etyl) vuit'', ''voide (modern vide).Adjective
(-)- The earth was without form, and void .
- I'll get me to a place more void .
- I'll chain him in my study, that, at void hours, / I may run over the story of his country.
- divers great offices that had been long void
- He that is void of wisdom despiseth his neighbor.
- [My word] shall not return to me void , but it shall accomplish that which I please.
- I will make void the counsel of Judah.
- null and void
- idol, void and vain
- In particular, the roll method is void — it has no return value.
- The return value can safely be ignored if it is a void function.
Noun
(en noun)- Nobody has crossed the void since one man died trying three hundred years ago; it's high time we had another go.
- Pride, where wit fails, steps in to our defence, / And fills up all the mighty void of sense.
Synonyms
* pore * bubbleVerb
(en verb)Synonyms
* (make invalid or worthless) annul, cancel * evacuateEtymology 2
Alteration of (voidee).Noun
(en noun)- Late on the final evening, as the customary ‘void ’ – spiced wine and sweetmeats – was served, more elaborate disguisings in the great hall culminated in the release of a flock of white doves.
Anagrams
* ----undefined
English
Adjective
(wikipedia undefined) (-)- The result of division by zero is undefined .