Check if a given type is an atomic type (string, number, boolean, or date).
the type to check.
true if the type is an atomic type, otherwise false.
Check if a given type is an atomic type (string, number, boolean, or date).