TimeObjectQ
TimeObjectQ[expr]
gives True if expr is a TimeObject with valid arguments, and False otherwise.
Details
- TimeObjectQ[expr] returns False unless expr is a TimeObject expression with valid arguments (i.e. has a recognized time specification).
Examples
open allclose allBasic Examples (1)
TimeObjectQ tests whether an expression is a TimeObject with valid arguments:
Applications (1)
TimeObjectQ can be used in pattern tests for functions:
Possible Issues (1)
Now represents a full date and is not a TimeObject:
Wolfram Research (2015), TimeObjectQ, Wolfram Language function, https://reference.wolfram.com/language/ref/TimeObjectQ.html.
Text
Wolfram Research (2015), TimeObjectQ, Wolfram Language function, https://reference.wolfram.com/language/ref/TimeObjectQ.html.
CMS
Wolfram Language. 2015. "TimeObjectQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TimeObjectQ.html.
APA
Wolfram Language. (2015). TimeObjectQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TimeObjectQ.html