I can't seem to find what it does anywhere. For example say you have a method such as
def SomeFunction(a: String): String ={ ??? }
What do the triple question marks signify?
it has a return type of Nothing which is a sub-type of every type and can therefore be used in place of any return value.
A lot of question marks in a text can define the feeling of confusion and anger. A single question mark is for asking a question; multiple question marks, or multiple question marks along with exclamation points are for expressing confusion. It is outright rude and should never be used.
In a URL, the query starts with a question mark - the question mark is used as a separator, and is not part of the query string. If you also include a question mark in the query string, this would be treated as a literal question mark (i.e. it has no significance beyond that of a regular character).
???
is defined in Predef
and simply throws a NotImplementedError
:
def ??? : Nothing = throw new NotImplementedError
it has a return type of Nothing
which is a sub-type of every type and can therefore be used in place of any return value.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With