- isNotSameType<T>(value, type): value is Exclude<undefined, SpecTypes[T]> | Exclude<null, SpecTypes[T]> | Exclude<string, SpecTypes[T]> | Exclude<number, SpecTypes[T]> | Exclude<false, SpecTypes[T]> | Exclude<true, SpecTypes[T]> | Exclude<JsonableObject, SpecTypes[T]> | Exclude<Jsonable[], SpecTypes[T]>
-
Returns value is Exclude<undefined, SpecTypes[T]> | Exclude<null, SpecTypes[T]> | Exclude<string, SpecTypes[T]> | Exclude<number, SpecTypes[T]> | Exclude<false, SpecTypes[T]> | Exclude<true, SpecTypes[T]> | Exclude<JsonableObject, SpecTypes[T]> | Exclude<Jsonable[], SpecTypes[T]>
A typeguard that checks if a Jsonable value is not of a given type, as represented by its SpecTypeName.