shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
isIsoTime
Type:Function
Status:stable
Since:1.0.0
Platform:jsnode
@blackbyte.sugar.shared.is
Check if the passed value is a valid iso date string
Params
- value*-Mixed
The value to check
Return
- -Boolean
The check result
Example
import { isIsoTime } from '@blackbyte/sugar/is';
isIsoTime('john.doe@gmail.com') => false
isIsoTime('plop@yop.com') => false
isIsoTime('hello') => false
isIsoTime('17:21') => trueTodo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space